<!--

/***********************************************
* Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var delayb4scroll=1000 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var marqueespeed=1 //Specify marquee scroll speed (larger is faster 1-10)
var pauseit=1 //Pause marquee onMousever (0=no. 1=yes)?

////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var actualheight=''

function scrollmarquee(){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}

function initializemarquee(){
cross_marquee=document.getElementById("vmarquee")
cross_marquee.style.top=0
marqueeheight=document.getElementById("marqueecontainer").offsetHeight
actualheight=cross_marquee.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marquee.style.height=marqueeheight+"px"
cross_marquee.style.overflow="scroll"
return
}
setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)
}

if (window.addEventListener)
window.addEventListener("load", initializemarquee, false)
else if (window.attachEvent)
window.attachEvent("onload", initializemarquee)
else if (document.getElementById)
window.onload=initializemarquee

//-->

<!--
	function PW_SetVisible(divName, show)
	{
		var lyr = null;
		var arg = null;
		if(document.layers)	//Netscape 4
		{
			if(show){arg = 'show';}else{arg = 'hide';}
			lyr = document.layers[divName];
			if(lyr){ lyr.visibility = arg; }
		}
		else	//IE 4, 5, NS6, W3C
		{
			if(document.all){lyr = document.all[divName];}
			if((lyr == null) && (document.getElementById != null))
			 { lyr = document.getElementById(divName); }

			if(show){arg = 'visible';}else{arg = 'hidden'; }

			if(lyr != null){ lyr.style.visibility = arg; }
		}
	}	
//-->

<!--
// PhotoWebber PopMenu Class

function PW_PopMenu(oName, pArray)
{
	this.ownerName = oName; //should be same name as name of object.
	this.popArray = pArray;

	// attach functions
	this.PW_Display = PW_Display;
	this.PW_Finish = PW_Finish;
	this.PW_StartClock = PW_StartClock;
	this.PW_StopClock = PW_StopClock;

	window.top.pw_curPopMenu = this;
	this.PW_Display(true);
}

function PW_Display(show)
{
	if(this.popArray == null){ return; }
	PW_DisplayIt(show, this.popArray);
}

function PW_DisplayIt(show, someArray)
{
	var s;  if(show){s = 1;}else{s = 0;}
	var showIt;

	var i;
	for(i=0; i < someArray.length; i++)
	{
		// we 'switch' off of array length. see notes on array forms below.
		var subArray = someArray[i];
		if(subArray.length == 2)
		{
			if(subArray[1] == false){ showIt = !show; }else{showIt = show; }
			PW_SetVisible(subArray[0], showIt);
		}
		else if(subArray.length == 3)
		{
			PW_ImgSwap(subArray[0], subArray[1+s]);
		}
		else if(subArray.length == 4)
		{//style sheet layer in another frame
			if(subArray[3] == false){ showIt = !show; }else{showIt = show; }
			PW_FrameSetVisible(subArray[0], subArray[1], subArray[2], showIt);
		}
		else if(subArray.length == 5)
		{//graphic swapping in another frame
			PW_RootAndFrameImgSwap(subArray[0], subArray[1], subArray[2], subArray[3+s]);
		}
	}
}

function PW_Finish()
{
	this.PW_StopClock();
	this.PW_Display(false);
	this.popArray = null;
	window.top.pw_curPopMenu = null;
}

function PW_StartClock(tim)
{
 if(tim == 0){ this.PW_Finish(); return; }
	this.timeoutID = setTimeout(this.ownerName +'.PW_Finish()', tim);
}

function PW_StopClock()
{
	if(this.timeoutID != null)
	{
		clearTimeout(this.timeoutID);
	}
}

function PW_OwnerCheck(someOwner, forceFinish)
{
	if(window.top.pw_curPopMenu != null)
	{
		if(someOwner == window.top.pw_curPopMenu.ownerName)
		{
			window.top.pw_curPopMenu.PW_StopClock();
			return(true);
		}
		else if(forceFinish)
		{
			window.top.pw_curPopMenu.PW_Finish();
			return(false);
		}
	}
	return(false);
}

//-->

<!--
//This function forces the browser to load a particular image.  
//This will put it in the cache, so the next time the browser looks for this image, it will
//be ready immediately.

function PW_Preload(src)
{ 
   var img = new Image();
   img.src=src;
} 
//--> 




<!--
//     These scripts are used by the rollovers, popups, and menus of this document
function Menu_contact()
{
 PM_contact= new PW_PopMenu('PM_contact', [ [ 'contactpdiv', true] ]); 
 return(PM_contact);
}


function Menu_order()
{
 PM_order= new PW_PopMenu('PM_order', [ [ 'orderpdiv', true] ]); 
 return(PM_order);
}


function Menu_questions()
{
 PM_questions= new PW_PopMenu('PM_questions', [ [ 'questionspdiv', true] ]); 
 return(PM_questions);
}


function Menu_designtypes()
{
 PM_designtypes= new PW_PopMenu('PM_designtypes', [ [ 'designtypespdiv', true] ]); 
 return(PM_designtypes);
}


function Menu_viewportfolio()
{
 PM_viewportfolio= new PW_PopMenu('PM_viewportfolio', [ [ 'viewportfoliopdiv', true] ]); 
 return(PM_viewportfolio);
}


function Menu_whycovers()
{
 PM_whycovers= new PW_PopMenu('PM_whycovers', [ [ 'whycoverspdiv', true] ]); 
 return(PM_whycovers);
}


function PreloadGraphics()
{
 PW_Preload('contact_p.gif'); 
 PW_Preload('order_p.gif'); 
 PW_Preload('questions_p.gif'); 
 PW_Preload('designtypes_p.gif'); 
 PW_Preload('viewportfolio_p.gif'); 
 PW_Preload('whycovers_p.gif'); 
 
}
//-->

<!--
PW_SetVisible('whycoverspdiv', false);
//--> 
<!--
PW_SetVisible('viewportfoliopdiv', false);
//--> 
<!--
PW_SetVisible('designtypespdiv', false);
//--> 
<!--
PW_SetVisible('questionspdiv', false);
//--> 
<!--
PW_SetVisible('orderpdiv', false);
//--> 
<!--
PW_SetVisible('contactpdiv', false);
//--> 