var sifrObj = new Array;
sifrObj['style1'] = new Object();
sifrObj['style1'].swf = 'blackTie';
sifrObj['style1'].textColor = '000000';

sifrObj['style2'] = new Object();
sifrObj['style2'].swf = 'blackTie';
sifrObj['style2'].textColor = '6a1128';

sifrObj['style3'] = new Object();
sifrObj['style3'].swf = 'blackTie';
sifrObj['style3'].textColor = 'a08b5d';

sifrObj['style4'] = new Object();
sifrObj['style4'].swf = 'farEast';
sifrObj['style4'].textColor = 'af0101';

sifrObj['style5'] = new Object();
sifrObj['style5'].swf = 'signature';
sifrObj['style5'].textColor = '0f73a1';

sifrObj['style6'] = new Object();
sifrObj['style6'].swf = 'signature';
sifrObj['style6'].textColor = 'dcb4a0';

sifrObj['style7'] = new Object();
sifrObj['style7'].swf = 'signature';
sifrObj['style7'].textColor = '483628';

sifrObj['style8'] = new Object();
sifrObj['style8'].swf = 'signature';
sifrObj['style8'].textColor = '483628';

sifrObj['style9'] = new Object();
sifrObj['style9'].swf = 'signature';
sifrObj['style9'].textColor = '6a1128';

sifrObj['style10'] = new Object();
sifrObj['style10'].swf = 'signature';
sifrObj['style10'].textColor = '6a1128';

sifrObj['style11'] = new Object();
sifrObj['style11'].swf = 'signature';
sifrObj['style11'].textColor = '483628';

sifrObj['style12'] = new Object();
sifrObj['style12'].swf = 'signature';
sifrObj['style12'].textColor = '483628';

sifrObj['style13'] = new Object();
sifrObj['style13'].swf = 'signature';
sifrObj['style13'].textColor = '91447e';

sifrObj['style14'] = new Object();
sifrObj['style14'].swf = 'signature';
sifrObj['style14'].textColor = 'a79393';

sifrObj['style15'] = new Object();
sifrObj['style15'].swf = 'signature';
sifrObj['style15'].textColor = '669933';

var sIfRVar =  sifrObj[styleNumber];

if(typeof sIFR == "function"){
	sIFR.replaceElement(named({nWidth:50,nHeight:40,sSelector:"span.sifrReplace", sFlashSrc:"/wws-sifr/"+ sIfRVar.swf +".swf", sColor:sIfRVar.textColor, sWmode:"transparent"}));
}

switch (styleNumber) {
	case ('style1') : { 
		emailButtonColor = 'black'
	}; break; 
	case ('style2') : { 
		emailButtonColor = 'burgundy'
	}; break; 
	case ('style3') : { 
		emailButtonColor = 'beige'
	}; break; 
	default : {
		emailButtonColor = 'taupe'
	} break;
}

if (document.getElementById('eMailIcon')) {
  document.getElementById('eMailIcon').src = '/i/wws/ICN_email_' + emailButtonColor + '.gif';  
}


function print () {
	if (window.location.toString().indexOf('ptintable=true') > -1 ) {
		window.print();
	} else {
		var url = window.location;
		window.location = url+'?printable=true'
	}
}
