
    function estship(ProductID){
    var popurl="/common/NoBot/EstimatedShipping.aspx?id=" + ProductID
    winpops=window.open(popurl,"","toolbar=no,location=no,directories=no,scrollbars=yes,status=yes,menubar=no,resizable=yes,width=400,height=400,")
    } 
	function ebillme(){
    var popurl="https://about.ebillme.com/index.php/about/cymaxstores" 
    winpops=window.open(popurl,"","toolbar=no,location=no,directories=no,scrollbars=yes,status=yes,menubar=no,resizable=yes,width=500,height=600,")
    }


    function ShowSwatch(ProductID, OptionGroupID){
    var popurl="/Common/Product/Swatch.aspx?PID=" + ProductID + "&OGID=" + OptionGroupID
    winpops=window.open(popurl,"","location=no,directories=no,scrollbars=yes,status=yes,menubar=no,resizable=yes,width=825,height=600,")
    }
    function ShipMethodHelp(shipMethodID){
    winpops=window.open("/Common/NoBot/ShipMethodHelp.aspx?ID=" + shipMethodID,"","location=no,directories=no,scrollbars=yes,status=no,menubar=no,resizable=no,width=400,height=400,")
    }
    function Canada(ProductID){
    winpops=window.open("http://www.cymaxstores.ca/Common/Product/Product.aspx?ID=" + ProductID,"","")
    }
    function pricematch(ProductID){
    var popurl="/common/NoBot/PriceMatch.aspx?id=" + ProductID
    winpops=window.open(popurl,"","toolbar=no,location=no,directories=no,scrollbars=yes,status=yes,menubar=no,resizable=yes,width=400,height=400,")
    }
			function fbs_click() {
				u=location.href;
				t=document.title;
				s='';
				i='http://www.cymax.com/Common/Product/ImageGallery.aspx?ID=<%= ProductID %>';
				window.open('http://www.facebook.com/sharer.php?s=100&p[medium]=106&p[summary]='+encodeURIComponent(s)+'&p[title]='+encodeURIComponent(t)+'&p[url]='+encodeURIComponent(u)+'&p[images][0]='+encodeURIComponent(i),'sharer','toolbar=0,status=0,width=626,height=436');
				return false;
			}
			function del_click(){
				u=location.href;
				t=document.title;
				s='';
				window.open('http://del.icio.us/post?v=3&noui=yes&jump=close&url='+encodeURIComponent(u)+'&title='+encodeURIComponent(t)+'&notes='+encodeURIComponent(s),'delicious','toolbar=no,width=700,height=250')
			}
			function digg_click(){
				u=location.href;
				t=document.title;
				s= '';
				window.open('http://digg.com/submit?phase=2&amp;url='+encodeURIComponent(u),'digg','toolbar=no,width=900,height=600')
			}



last_tab = 'tab1';
function show(layerName) {
document.getElementById(layerName).style.display = '';
}

function hide(layerName) {
document.getElementById(layerName).style.display = 'none';
}
function show_next(tab_name) {
document.getElementById(last_tab).className = 'tab';
var curr = document.getElementById(tab_name);
curr.className='tab_hover';
hide(last_tab+'_data');
show(tab_name+'_data');
last_tab=tab_name;
}

