function launchMail() { document.location.href='default.aspx'; } function launchMailOrder(customerid) { document.location.href='default.aspx'; } function launchMailOrderSupport(customerid) { document.location.href='default.aspx'; } function launchMail2() { document.location.href='default.aspx'; } function viewMessage(message_id) { document.location.href='default.aspx'; } function launchCompose(ur) { document.location.href='/default.aspx'; } function launchCarriers(orderid) { document.location.href='default.aspx'; } function launchCarriersTeam(orderid) { var winD = window.open('orders-details-print.aspx?id=' + orderid, 'MailWindow', 'top=0,left=0,height=600,width=800,scrollbars=yes,resizable=yes'); winD.focus(); } function launchCarriers2(orderid) { document.location.href='default.aspx'; } function launchCarriers_refund(orderid) { document.location.href='default.aspx'; } function viewFloristProfile(id) { document.location.href='/default.aspx'; } function viewFloristProfile2(id) { document.location.href='/default.aspx'; } function imageupload() { var winD = window.open('/admin/upload.aspx', 'MailWindow', 'top=0,left=0,height=150,width=490,scrollbars=no'); winD.focus(); } function startCalc(){ interval = setInterval("calc()",1); } function calc(){ one = document.price; two = document.deliveryfee; document.total = (one * 1) + (two * 1); } function stopCalc(){ clearInterval(interval); } function hide(o) { document.getElementById(o).style.display='none'; } function applicationLoad() { Sys.WebForms.PageRequestManager.propertyChanged.add( function(obj, e) { if (e.get_propertyName() == "inPostBack") { if(obj.get_inPostBack()) { disableAll(); } } } ); } function disableAll() { var dml=document.forms[0]; var len = dml.elements.length; var i=0; for( i=0 ; i< len ; i++) { dml.elements[i].disabled=true; } } function lineItem(vals,d,a,t) { //alert(vals); var ar = vals.split("||"); var c = document.getElementById(t).checked; document.getElementById(d).value = ar[0]; document.getElementById(d).focus(); for(w=0;w<10000;w++) { void(0); } document.getElementById(a).value = ar[1]; document.getElementById(a).focus(); for(w=0;w<10000;w++) { void(0); } if(document.getElementById(t).checked == ar[2]) { for(w=0;w<10000;w++) { void(0); } document.getElementById(t).click(); } else { document.getElementById(t).click(); for(w=0;w<10000;w++) { void(0); } document.getElementById(t).click(); } } function charsLeft(txt, spn) { spn.innerHTML = (255 - txt.value.length); }