function openVidWindow(height,width,scrolling) { url='/vidlib/snapcap.phtml'; window.open(url,"shiffler_popup","status,height="+height+",width="+width+",scrollbars="+scrolling+",resizable=no,toolbar=0"); } function openProdWindow(type) { //alert(type); if (type == 'sendFriend') { //url='/checkout/confirmOrder.phtml?p=1'; url='/popup/friendSend.phtml' options='toolbar=0,location=0,menubar=0,width=400,height=400' newWindow=window.open(url,'a',options); newWindow.focus(); //newWindow.print(); } else if (type == 'printProductDetail') { url=location.href+"?print=1"; options='toolbar=0,location=0,scrollbars=1,menubar=0,width=800,height=600' newWindow=window.open(url,'a',options); newWindow.focus(); } } function openColorChart(color_chart,pin,height,width,scrolling) { url='/popup/color_chart.phtml?id='+color_chart+'&pin='+pin; window.open(url,"shiffler_popup","status,height="+height+",width="+width+",scrollbars="+scrolling+",resizable=no,toolbar=0"); } function change_options(offset,current_value,current_choice) { if (current_value != '') { f=document.forms['product_detail']; current_string=''; var display_new = Array(possible_options.length); for (i=0;i " . current_string); if (temp_string == current_string) { if (!contains(display_new,temp[offset+1])) { display_new[count]=temp[offset+1]; count=count+1; } } } } temp=offset+1; temp_count=0; if (f.elements['option'+temp]) { for(i=0;i 0 && f.elements['pcode'].value == '') { dropdown_descriptions=f.detail_options.value.split(","); for (i=0;i