function restoreImg() {	setStatus(' ');	var i,x,a=document.sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function loadImg() {	var d=document; if(d.images){ if(!d.p) d.p=new Array();	var i,j=d.p.length,a=loadImg.arguments; for(i=0; i<a.length; i++)	if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}}function findObj(n, d) {	var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {	d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}	if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document); return x;}function swapImg() {	var i,j=0,x,a=swapImg.arguments; document.sr=new Array; for(i=0;i<(a.length-2);i+=3)	if ((x=findObj(a[i]))!=null){document.sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}function openWindow(theURL,winName,features) {	window.open(theURL,winName,features);}function setStatus(x) {	window.status=x;	return true;}function photoPopUp(text,image,x,y) {	var pgen=window.open('', 'photo', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width='+x+',height='+(y+20)+',left='+(400-(x/2))+',top='+(300-(y/2)));	pgen.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>:: photo ::</title>');	pgen.document.write('<link rel="stylesheet" type="text/css" href="style.css" /></head><body bgcolor="#000000" leftmargin="0" rightmargin="0" marginwidth="0" topmargin="0" bottommargin="0" marginheight="0">');	pgen.document.write('<img src="images/'+image+'" width="'+x+'" height="'+y+'" border="0" />')	pgen.document.write('<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0"><tr><td align="left" valign="middle"><p class="copy">&nbsp;&nbsp;:: '+text+' ::</p></td><td align="right" valign="top"><a href="javascript:window.close();" class="link">:: close window ::</a>&nbsp;&nbsp;</td></tr></table>');	pgen.document.write('</body></html>');	pgen.document.close();}function nextB() {	setStatus('>> Go to next page');	swapImg('a2','','images/next_on.gif',1);}function prevB() {	setStatus('<< Go to previous page');	swapImg("a1","","images/prev_on.gif",1);}function getWinSize() {	x = 0;	y = 0;	if (typeof(window.innerWidth) == 'number') {		//Non-IE		x = window.innerWidth;		y = window.innerHeight;	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {		//IE 6+ in 'standards compliant mode'		x = document.documentElement.clientWidth;		y = document.documentElement.clientHeight;	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {		//IE 4 compatible		x = document.body.clientWidth;		y = document.body.clientHeight;	}}function getScreenSize() {	Sx = 0;	Sy = 0;	if (typeof(window.innerWidth) == 'number') {		//Non-IE		Sx = window.innerWidth;		Sy = window.innerHeight;	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {		//IE 6+ in 'standards compliant mode'		Sx = document.documentElement.clientWidth;		Sy = document.documentElement.clientHeight;	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {		//IE 4 compatible		Sx = document.body.clientWidth;		Sy = document.body.clientHeight;	}}function extractData() {	var myEmail = document.registration.email.value;	var myTitle = document.registration.title.value;	var myFname = document.registration.fname.value;	var myLname = document.registration.lname.value;	var myCompany = document.registration.company.value;	var myTel = document.registration.telephone.value;	var myIndustry = document.registration.industry.value;	var mySub = document.registration.subscribe.checked;	var cookieValue = myEmail+':'+myTitle+':'+myFname+':'+myLname+':'+myCompany+':'+myTel+':'+myIndustry+':'+mySub;	setCookie('brandising_temp', cookieValue);}function setCookie(c_name, c_value) {	var ExpireDate = new Date ();	ExpireDate.setTime(ExpireDate.getTime() + (24 * 3600 * 1000));	document.cookie = c_name + "=" + escape(c_value) + "; expires=" + ExpireDate.toGMTString();}function delCookie(c_name) {	document.cookie = c_name + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT";}function popHelp(topic) {	getScreenSize();	var Wx = 450;	var Wy = 300;	var this_url = 'help.php?topic=' + topic;	window.open(this_url, 'help', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width='+Wx+',height='+Wy+',left='+((Sx/2)-(Wx/2))+',top='+((Sy/2)-(Wy/2)));}function popWin(file) {	getScreenSize();	var Wx = 600;	var Wy = 400;	var this_url = 'pop.php?file=' + file;	window.open(this_url, 'pop', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width='+Wx+',height='+Wy+',left='+((Sx/2)-(Wx/2))+',top='+((Sy/2)-(Wy/2)));}function popIcon(sec) {	getScreenSize();	var Wx = 400;	var Wy = 400;	var this_url = 'icon.php?sec=' + sec;	window.open(this_url, 'icon', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width='+Wx+',height='+Wy+',left='+((Sx/2)-(Wx/2))+',top='+((Sy/2)-(Wy/2)));}