function loadimages() {var d=document; if(d.images){ if(!d.p) d.p=new Array();var i,j=d.p.length,a=loadimages.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 restoreimage() {var i,x,a=document.sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function selectimage(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=selectimage(n,d.layers[i].document); return x;}function flipimage() {var i,j=0,x,a=flipimage.arguments; document.sr=new Array; for(i=0;i<(a.length-2);i+=3)if ((x=selectimage(a[i]))!=null){document.sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}function infoline(infotext) {status=infotext;exitcode = true;}function clearinfo() {status=' ';exitcode = true;}function JustSoPicWindow(imageName,imageWidth,imageHeight,alt,bgcolor,hugger) {// by E Michael Brandt of ValleyWebDesigns.com - Please leave this comment intact.	if (bgcolor=="") {		bgcolor="#FFFFFF";	}	var adj=10	var w = screen.width;	var h = screen.height;	var byFactor=1;if(w<740){var lift=0.90;}if(w>=740 & w<835){var lift=0.91;}if(w>=835){var lift=0.93;}	if (imageWidth>w){			byFactor = w / imageWidth;					imageWidth = w;		imageHeight = imageHeight * byFactor;	}	if (imageHeight>h-adj){		byFactor = h / imageHeight;		imageWidth = (imageWidth * byFactor);		imageHeight = h; 	}	 	var scrWidth = w-adj;	var scrHeight = (h*lift)-adj;	if (imageHeight>scrHeight){		imageHeight=imageHeight*lift;		imageWidth=imageWidth*lift;	}	var posLeft=0	var posTop=0		if (hugger=="hug image") {		posTop = (scrHeight-imageHeight)/2;		posLeft = ((w-imageWidth)/2);		scrHeight = imageHeight-adj;		scrWidth = imageWidth-adj;	}		imageHeight=imageHeight-adj;	imageWidth=imageWidth-adj;	newWindow = window.open("","newWindow","width="+scrWidth+",height="+scrHeight+",left="+posLeft+",top="+posTop);	newWindow.document.open();	newWindow.document.write('<html><title>'+alt+'</title><body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor='+bgcolor+' onBlur="self.close()" onClick="self.close()">'); 	newWindow.document.write('<table width='+imageWidth+' border="0" cellspacing="0" cellpadding="0" align="center" height='+scrHeight+' ><tr><td>');	newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt=\"sigma_media_graphics.\" >'); 	newWindow.document.write('</td></tr></table></body></html>');	newWindow.document.close();	newWindow.focus();}function MM_openBrWindow(theURL,winName,features) {  window.open(theURL,winName,features);}