function email(s2,s1) {
	s3 = '@';
	s4 = s1 + s3 + s2;
	return s4;
}
function emailclick(e) { document.location = 'mailto:' + e; }
function emailview(e) { self.status = 'mailto:' + e; return true; }
function emailclear() { self.status = ''; return true; }

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v3.0
  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=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function showFlash(movie,x,y) {
	pre_image1 = new Image(780,260); 
	pre_image1.src="/pix/headers/home/home01.jpg"; 
	pre_image2 = new Image(780,260); 
	pre_image2.src="/pix/headers/home/home02.jpg"; 
	pre_image3 = new Image(780,260); 
	pre_image3.src="/pix/headers/home/home03.jpg"; 
	pre_image4 = new Image(780,260); 
	pre_image4.src="/pix/headers/home/home04.jpg"; 
	pre_image5 = new Image(780,260); 
	pre_image5.src="/pix/headers/home/home05.jpg"; 
	pre_image6 = new Image(780,260); 
	pre_image6.src="/pix/headers/home/home06.jpg"; 
	pre_image7 = new Image(780,260); 
	pre_image7.src="/pix/headers/home/home07.jpg"; 
	pre_image8 = new Image(780,260); 
	pre_image8.src="/pix/headers/home/home08.jpg"; 

	if (navigator.appName == "Microsoft Internet Explorer") {
		document.write('<object id="flashdetect" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+x+'" height="'+y+'" align="">')
		document.write('<param name="movie" value="/inc/html/default/flash/'+movie+'" />')
		document.write('<param name="quality" value="high" />')
		document.write('<param name="bgcolor" value="#EBE9DC" />')
		document.write('<param name="wmode" value="transparent" />')
		document.write('</object>')
		if (null == document.flashdetect) {
			document.write('<img src="/pix/headers/home05.jpg" alt="" border="0">')
		}
	}

	if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]){
		document.write('<embed src="/inc/html/default/flash/'+movie+'" wmode="transparent" quality="high" bgcolor="#FFFFFF" width="'+x+'" height="'+y+'" align="" swliveconnect="true" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer"></embed>')
	} else {
		if (navigator.appName != "Microsoft Internet Explorer") {
			document.write('<img src="/pix/headers/home05.jpg" alt="" border="0">')
		}
	}
}

function playerFocus(content) {

	var foreground= document.getElementById('playerfocus');
	foreground.style.display = "block";

	var background= document.getElementById('container');
	background.style.opacity = "0.25";
	background.style.filter = 'alpha(opacity=25)';

	document.getElementById('playerfocus').innerHTML = content	
}

function closeMultiMedia() {
	document.getElementById('multimedia').style.display = 'none';
}