// JavaScript Lovingly Coded by Spoono for Your Viewing Pleasure

//Respect Pop-ups
function res(popup) {
	  				if (popup.options[popup.selectedIndex].value != "")
	  				{
	   		 			window.open(popup.options[popup.selectedIndex].value, "_blank");
	    				popup.selectedIndex=0;
	  				}
				}
				
function res2(popup) {
	  				if (popup.options[popup.selectedIndex].value != "")
	  				{
	   		 			window.open(popup.options[popup.selectedIndex].value,"_top");
	    				popup.selectedIndex=0;
	  				}
				}
				

//Artbox Old PopUp
function popUp(URL,x,y) {
day = new Date();
if(x>screen.width-40) {
x = screen.width-40;
}
if(x>screen.height-80) {
y = screen.height-80;
}
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=' + x + ',height=' + y + ',left =0,top = 0');");
}

// Artbox Popup
var WinNum=0;

function WindowOpen(Url,x,y)
{
   var String;
   String =  "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=2,resizable=0,copyhistory=0,";
   String += ",width=";
   String += x;
   String += ",height=";
   String += y;

   WinPic=window.open(Url,WinNum++,String);
}

// Flavor and Network Mouseover Text
var content=new Array()
content[0]=' '
content[1]='Blueberry'
content[2]='Cocoa'
content[3]='Raspberry'
content[4]='Mango'
content[5]='Watermelon'
content[6]='Lime'
content[7]='Grape'
content[8]='Du Jour'
content[9]='Spoonloads'
content[10]='Spoono Host'
content[11]='Absolute Cross'

function changetext(whichcontent){
cross_el=document.getElementById? document.getElementById("flavors"):document.all.flavors
cross_el.innerHTML=whichcontent
}

function changetext2(whichcontent){
cross_e2=document.getElementById? document.getElementById("ntl"):document.all.ntl
cross_e2.innerHTML=whichcontent
}