
function bookmark(){window.external.AddFavorite('http://localhost/','Wisconsin Converting Inc.');}
function openPopup(URL,popW,popH){var w,h;popW=typeof(popW)!='undefined'?popW:840;popH=typeof(popH)!='undefined'?popH:600;w=screen.availWidth;h=screen.availHeight;var leftPos=(w-popW)/2,topPos=(h-popH)/2;var p=window.open(URL,"WCI | Online","menubar=no,width="+popW+",height="+popH+",top="+topPos+", left="+leftPos+"toolbar=no");p.focus();}
function cl_expcol(a,type){if(!type){var type="";}
var obj=$(a).parent().children(".content");if(obj.hasClass("open")){obj.animate({'height':0},1000);obj.removeClass("open");$(a).html("<img src='../assets/images/global/plus.png' /> "+type+"");}else{var currentHeight=obj.height();obj.css('height','auto');var height=obj.height();obj.css('height',currentHeight+'px');obj.animate({'height':height},1000);obj.addClass("open");$(a).html("<img src='../assets/images/global/minus.png' /> "+type+"");}}
function cl_expcol_no_an(a,type){if(!type){var type="";}
var obj=$(a).parent().children(".content");if(obj.hasClass("open")){obj.toggle();obj.removeClass("open");$(a).html("<img src='../assets/images/global/plus.png' /> "+type+"");}else{obj.toggle();obj.addClass("open");$(a).html("<img src='../assets/images/global/minus.png' /> "+type+"");}}
function cl_expall(){var obj=$("ul.content");obj.css('height','auto');obj.addClass("open");$("a.expicon img").attr("src","../assets/images/global/minus.png");}
function cl_colall(){var obj=$("ul.content");obj.css('height','0');obj.removeClass("open");$("a.expicon img").attr("src","../assets/images/global/plus.png");}
function selectSamplesForm(){$('.req_item').remove();$('#bag_specifics').show();$('#shipping_information').hide();$('#distro_ship_end').show();$('#to_end_user').attr('checked',false);$('#alt_end_ship_form').hide();$('#bag_specifics h4 a').html('>> Add a line item to your sample request.');}
function allSamplesForm(){$('.req_item').remove();$('#bag_specifics').hide();$('#shipping_information').hide();$('#distro_ship_end').show();$('#to_end_user').attr('checked',false);$('#alt_end_ship_form').hide();$('#bag_specifics h4 a').html('');}
function quoteForm(){$('.req_item').remove();$('#bag_specifics').show();$('#shipping_information').show();$('#distro_ship_end').hide();$('#to_end_user').attr('checked',false);$('#alt_end_ship_form').hide();$('#bag_specifics h4 a').html('>> Add a line item to your quote request.');}
function quoteSamplesForm(){$('.req_item').remove();$('#bag_specifics').show();$('#shipping_information').show();$('#distro_ship_end').show();$('#to_end_user').attr('checked',false);$('#alt_end_ship_form').hide();$('#bag_specifics h4 a').html('>> Add a line item to your quote and sample request.');}
function insertBlankRow(){if($('#product_details_tbl tbody').html().length<10){$('#product_details_tbl tbody').hide().html("<tr class=\"dataBody\"><td class=\"dataBody\" colspan=\"7\">No details currently available.</td></tr>").fadeIn(500);}}
