
	
	
function openWin(URL,bwidth,bheight,name) 
{
	//window.name = name;
	aWindow = window.open(URL,name,"menubar=yes,scrollbars=yes,resizable=1,width="+bwidth+",height="+bheight+",top=40,left=40");
}

function openWinScroll00(URL,bwidth,bheight,name) 
{
	//window.name = name;
	aWindow = window.open(URL,name,"resizable=1,width="+bwidth+",height="+bheight+",top=40,left=40");
}
	
function openWinScroll(URL,bwidth,bheight,name) 
{
	//window.name = name;
	aWindow = window.open(URL,name,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+bwidth+",height="+bheight+",top=40,left=40");
}	



function submitdd()
{
	
var atrbcount = (document.attributes.atrbcount.value);


// if (document.prods.colour) { document.prods.colour.selectedIndex=0; }
   if (document.attributes.atrb[0]) 
   {
	var my_colors=(document.attributes.atrb[0].options[document.attributes.atrb[0].selectedIndex].value);
   }
   
   if (document.attributes.atrb[1]) 
   {
	var my_sizes=(document.attributes.atrb[1].options[document.attributes.atrb[1].selectedIndex].value);
   }


if ((my_colors!=="") && (my_sizes!==""))
{
  document.attributes.submit();	
  //alert("You have no favorite colors? Bummer.");
}

//else if (my_colors.indexOf(" ")== -1)
 //{
 // alert("Either you only like one color or you didn't separate with a space.");
 // alert("You entered "+my_colors);
 // }
//else
//{
//var col_array=my_colors.split(" ");
//var part_num=0;
//while (part_num < col_array.length)
// {
//  alert(col_array[part_num]);
 // part_num+=1;
 // }
//}
}



var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")





function hideprice(e)

{

    element = document.getElementById(e).style;

    element.display='none';

	selectprice.style.background='#FF0000';

	//priceupdate.style.color='red';

}





