
	
	
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;
 // }
//}
}









