




function spawnFlash()
	{
	
    Theight=(screen.height/2)-330;
	Twidth=(screen.width/2)-360;
	
	popUp=window.open('index2.html','flash','height=491,width=715,titlebar=no,location=no,menubar=no,directories=no,toolbar=no,scrollbars=no,resizable=no,status=yes,screenX=Twidth,screenY=Theight');
	popUp.moveTo(Twidth, Theight);
	popUp.focus();
	}
	
function spawnPage(x)
	{
	
    Theight=(screen.height/2);
	Twidth=(screen.width/2);
	if (window.opener.closed){
	popUp=window.open(x,"newWin",'height=480,width=700,titlebar=yes,location=yes,menubar=yes,directories=yes,toolbar=yes,scrollbars=yes,resizable=yes,status=yes,screenX=Twidth,screenY=Theight');
	//popUp.moveTo(Twidth, Theight);
	popUp.focus();
	}else{
	window.opener.location.href=x;
	window.opener.focus();
	};
	}
	
	
	
function spawnBio(x) 
	{
	
    Theight=(screen.height/2)-330;
	Twidth=(screen.width/2)-360;
	
	popUp=window.open("html/"+ x + '.html','bio','height=410,width=590,titlebar=no,location=no,menubar=no,directories=no,toolbar=no,scrollbars=no,resizable=no,status=no,screenX=Twidth,screenY=Theight');
	popUp.moveTo(Twidth, Theight);
	popUp.focus();
	}
	
	
	function spawnWork(x)
	{
	
    Theight=(screen.height/2)-330;
	Twidth=(screen.width/2)-360;
	
	popUp=window.open( x + '.html','work','height=350,width=660,titlebar=no,location=no,menubar=no,directories=no,toolbar=no,scrollbars=no,resizable=no,status=no,screenX=Twidth,screenY=Theight');
	popUp.moveTo(Twidth, Theight);
	popUp.focus();
	}
	
	function spawnStill(x)
	{
	
    Theight=(screen.height/2)-330;
	Twidth=(screen.width/2)-360;
	
	popUp=window.open( x + '.html','stills','height=375,width=750,titlebar=no,location=no,menubar=no,directories=no,toolbar=no,scrollbars=no,resizable=no,status=no,screenX=Twidth,screenY=Theight');
	popUp.moveTo(Twidth, Theight);
	popUp.focus();
	}
	
	function spawnMovie(x)
	{
	
    Theight=(screen.height/2)-330;
	Twidth=(screen.width/2)-360;
	
	popUp=window.open( "html/" +x + '.html','movies','height=300,width=340,titlebar=no,location=no,menubar=no,directories=no,toolbar=no,scrollbars=no,resizable=no,status=no,screenX=Twidth,screenY=Theight');
	popUp.moveTo(Twidth, Theight);
	popUp.focus();
	}
	
	function spawnReel(x)
	{
	
    Theight=(screen.height/2)-330;
	Twidth=(screen.width/2)-360;
	
	popUp=window.open( x + '.html','reel','height=500,width=550,titlebar=no,location=no,menubar=no,directories=no,toolbar=no,scrollbars=yes,resizable=no,status=no,screenX=Twidth,screenY=Theight');
	popUp.moveTo(Twidth, Theight);
	popUp.focus();
	}
	
	function spawnClients(x)
	{
	
    Theight=(screen.height/2)-330;
	Twidth=(screen.width/2)-360;
	
	popUp=window.open( x,'clients','height=500,width=750, titlebar=yes,location=yes,menubar=yes,directories=yes,toolbar=yes,scrollbars=yes,resizable=yes,status=yes, screenX=Twidth,screenY=Theight');
	popUp.moveTo(Twidth, Theight);
	popUp.focus();
	}
	
	function spawnPDF(x)
	{
	
    Theight=(screen.height/2)-330;
	Twidth=(screen.width/2)-360;
	popUp=window.open('html/recog/' + x,'clients','height=500,width=700, titlebar=yes,location=yes,menubar=yes,directories=yes,toolbar=yes,scrollbars=yes,resizable=yes,status=yes, screenX=Twidth,screenY=Theight');
	popUp.moveTo(Twidth, Theight);
	popUp.focus();
	}
	
	function spawnPress(x)
	{
	
    Theight=(screen.height/2)-330;
	Twidth=(screen.width/2)-360;
	
	popUp=window.open('html/recog/' + x,'clients','height=500,width=700, titlebar=yes,location=yes,menubar=yes,directories=yes,toolbar=yes,scrollbars=yes,resizable=yes,status=yes, screenX=Twidth,screenY=Theight');
	popUp.moveTo(Twidth, Theight);
	popUp.focus();
	}
	
	function spawnMap(x)
	{
	
    Theight=(screen.height/2)-330;
	Twidth=(screen.width/2)-360;
	popUp=window.open("html/"+ x + '.html','maps','height=310,width=375,titlebar=no,location=no,menubar=no,directories=no,toolbar=no,scrollbars=no,resizable=no,status=no,screenX=Twidth,screenY=Theight');
	popUp.moveTo(Twidth, Theight);
	popUp.focus();
	}
	

function submitReel() { 
	if (document.forms.reel_form.name.value=="") { 
	
		alert("Please enter your name"); 
	
	}else if (document.forms.reel_form.address1.value=="") { 
	
		alert("Please enter your address"); 

	
	}else if (document.forms.reel_form.state.value=="") { 
	
		alert("Please enter your state"); 

	}else if (document.forms.reel_form.zip.value=="") { 
	
		alert("Please enter your zip code"); 

	}else if (document.forms.reel_form.email.value=="") { 
	
		alert("Please enter your email address"); 
		
	}else if (document.forms.reel_form.website.value=="") { 
	
		alert("Please enter your company website or enter 'none' if you do not have one"); 

	}else if ( (document.forms.reel_form.com_reel.checked==false)  && (document.forms.reel_form.film_reel.checked==false) && (document.forms.reel_form.design_reel.checked==false) ) { 
	
		alert("Please choose a reel"); 
					
	}else if (  (document.forms.reel_form.com_reel.checked==true) && (document.forms.reel_form.com_type.selectedIndex==0)  ) { 
	
		alert("Please choose a format for the Commercial Reel"); 
		
	}else if (  (document.forms.reel_form.film_reel.checked==true) && (document.forms.reel_form.film_type.selectedIndex==0)  ) { 
	
		alert("Please choose a format for the Film Reel");
		
	}else if (  (document.forms.reel_form.design_reel.checked==true) && (document.forms.reel_form.design_type.selectedIndex==0)  ) { 
	
		alert("Please choose a format for the Design Reel");	
	}else if (  (document.forms.reel_form.com_reel.checked==false) && (document.forms.reel_form.com_type.selectedIndex!=0)  ) { 
	
		alert("Please check the Commercial Reel box to request this format"); 
		
	}else if (  (document.forms.reel_form.film_reel.checked==false) && (document.forms.reel_form.film_type.selectedIndex!=0)  ) { 
	
		alert("Please check the Film Reel box to request this format");
		
	}else if (  (document.forms.reel_form.design_reel.checked==false) && (document.forms.reel_form.design_type.selectedIndex!=0)  ) { 
	
		alert("Please check the Design Reel box to request this format");	
	}else{	
		
		document.forms.reel_form.submit();
	}
} 

	

