function launchwin(winurl,winname,winfeatures){	//This launches a new window and then	//focuses it if window.focus() is supported.	newwin = window.open(winurl,winname,winfeatures);	if(javascript_version > 1.0)	{		//delay a bit here because IE4 encounters errors		//when trying to focus a recently opened window 		setTimeout('newwin.focus();',250);	}}function MM_openBrWindow(theURL,winName,features) { //v2.0  window.open(theURL,winName,features);}function menboardetail() {     myWin = window.open('','myWindow','scrollbars=yes,directories=no,status=no,resizable=yes,toolbar=no,copyhistory=no,location=no,menubar=no,width=600,height=400,scrollbars=yes,top=0,left=0')     myWin.location.href = fileName;}function win(fileName) {     myWin = window.open('','myWindow','scrollbars=yes,directories=no,status=no,resizable=yes,toolbar=no,copyhistory=no,location=no,menubar=no,width=350,height=300,scrollbars=yes,top=0,left=0')     myWin.location.href = fileName;}function PrivacyPop(){var PopUpTotalWidth = 600;var LeftPixel1 = ((screen.availWidth) - PopUpTotalWidth) / 2;var PopUpTotalHeight = 350;var TopPixel = ((screen.availHeight) - PopUpTotalHeight) / 2;	window.open('http://www.brooklynsurfer.com/sizetees.html','privacy','top='+TopPixel+',screeny='+TopPixel+',left='+LeftPixel1+',screenx='+LeftPixel1+',width=400,height=350,buttons=no,scrollbars=no,location=no,menubar=no,resizable=no,status=no,directories=no,toolbar=no');}function ShipPop(){var PopUpTotalWidth = 600;var LeftPixel1 = ((screen.availWidth) - PopUpTotalWidth) / 2;var PopUpTotalHeight = 350;var TopPixel = ((screen.availHeight) - PopUpTotalHeight) / 2;	window.open('http://www.brooklynsurfer.com/wholesale/wholeship.html','privacy','top='+TopPixel+',screeny='+TopPixel+',left='+LeftPixel1+',screenx='+LeftPixel1+',width=400,height=350,buttons=no,scrollbars=no,location=no,menubar=no,resizable=yes,status=no,directories=no,toolbar=no');}function MenBPop(){var PopUpTotalWidth = 600;var LeftPixel1 = ((screen.availWidth) - PopUpTotalWidth) / 2;var PopUpTotalHeight = 350;var TopPixel = ((screen.availHeight) - PopUpTotalHeight) / 2;	window.open('prod_details/ghetto_01.html','privacy','top='+TopPixel+',screeny='+TopPixel+',left='+LeftPixel1+',screenx='+LeftPixel1+',width=720,height=620,buttons=no,scrollbars=no,location=no,menubar=no,resizable=yes,status=no,directories=no,toolbar=no');}function WomenBPop(){var PopUpTotalWidth = 600;var LeftPixel1 = ((screen.availWidth) - PopUpTotalWidth) / 2;var PopUpTotalHeight = 350;var TopPixel = ((screen.availHeight) - PopUpTotalHeight) / 2;	window.open('prod_details/candy_01.html','privacy','top='+TopPixel+',screeny='+TopPixel+',left='+LeftPixel1+',screenx='+LeftPixel1+',width=720,height=500,buttons=no,scrollbars=no,location=no,menubar=no,resizable=yes,status=no,directories=no,toolbar=no');}function popup(mylink, windowname){if (! window.focus)return true;var href;if (typeof(mylink) == 'string')   href=mylink;else   href=mylink.href;window.open(href, windowname, 'width=310,height=210,scrollbars=no,directories=no,status=no,resizable=yes,toolbar=no,copyhistory=no,location=no,menubar=no,scrollbars=no,top=0,left=0');return false;}var win = null;function newWindow(mypage,myname,w,h,features) {  var winl = (screen.width-w)/2;  var wint = (screen.height-h)/2;  if (winl < 0) winl = 0;  if (wint < 0) wint = 0;  var settings = 'height=' + h + ',';  settings += 'width=' + w + ',';  settings += 'top=' + wint + ',';  settings += 'left=' + winl + ',';  settings += features;  win = window.open(mypage,myname,settings);  win.window.focus();}var win=null;function NewWindow(mypage,myname,w,h,pos,infocus){if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";win=window.open(mypage,myname,settings);win.focus();}function win1(fileName) {     myWin = window.open('','myWindow','scrollbars=yes,directories=no,status=no,resizable=yes,toolbar=no,copyhistory=no,location=no,menubar=no,width=600,height=400,scrollbars=yes,top=0,left=0')     myWin.location.href = fileName;}