GlowHost Internet Solutions
'); cv2.focus(); } function showShoppingCart(flag) { flag = ShoppingCartShown; $('tbl_domain_add2cart').style.display = 'none'; $('tbl_domain_additional').style.display = 'none'; $('tbl_edit_domains').style.display = 'none'; $('tbl_hosting_add').style.display = 'none'; //$('tbl_domain').style.display = 'none'; $('tbl_domain4whois').style.display = 'none'; $('tbl_hosting_addedit').style.display = 'none'; $('tbl_contact_details').style.display = 'none'; $('tbl_billing_contact').style.display = 'none'; $('tbl_order_loggedin2').style.display = 'none'; $('tbl_contacts_verify').style.display = 'none'; if (flag == 1) { //show first shopping cart (no update - we saw it once) setProgress(0); $('tbl_domaincart').style.display = 'block'; //enabled buttons switchButton('btn8', false); switchButton('btn9', false); var tbl_cart = $('tbl_cart'); if (tbl_cart) if (tbl_cart) for (var i=1; i 0) $('tr_coupon_require_cc').style.display = (isMoz)?'table-row':'block'; } else if (val != 'cc' && val != 'paypal' && val != 'bc') { for (var i=1; i<7; i++) $('tr_bd' + i).style.display = 'none'; //for (var i=7; i<10; i++) $('tr_bd' + i).style.display = (isMoz)?'table-row':'block'; //for (var i=10; i<13; i++) //$('tr_bd10').style.display = 'none'; if (coupon_require_cc > 0) $('tr_coupon_require_cc').style.display = (isMoz)?'table-row':'block'; } else { //bc for (var i=1; i<7; i++) $('tr_bd' + i).style.display = 'none'; for (var i=7; i<10; i++) $('tr_bd' + i).style.display = 'none'; //for (var i=10; i<13; i++) //$('tr_bd10').style.display = (isMoz)?'table-row':'block'; if (coupon_require_cc > 0) $('tr_coupon_require_cc').style.display = (isMoz)?'table-row':'block'; //show loader //send request to get invoice id & get back the iframe URL //AJAX_Request(setBCinvoice, 'ajax_action=get_bc_invoice'); //ShowLoading(true, 1); } } function submitBillingDetails() { $('payway1').className = ''; $('payway2').className = ''; $('payway3').className = ''; $('payway4').className = ''; $('payway5').className = ''; $('payway99').className = ''; //$('payway6').className = ''; //$('payway7').className = ''; //$('payway8').className = ''; //$('payway9').className = ''; if ($('payway1').checked) { sub_form = 'screen9'; if(ValidateForm($('subscription_form'))==false) return false; } else if ($('payway2').checked) { //sub_form = 'screen10'; //if(ValidateForm($('subscription_form'))==false) return false; } else if ($('payway3').checked) { sub_form = 'screen11'; if(ValidateForm($('subscription_form'))==false) return false; } else if ($('payway4').checked || $('payway5').checked || $('payway6').checked || $('payway7').checked || $('payway8').checked || $('payway99').checked) { sub_form = 'screen12'; if(ValidateForm($('subscription_form'))==false) return false; } else { ShowErrors('Please, choose a payment option', false); $('payway1').className = 'invalidInput'; $('payway2').className = 'invalidInput'; $('payway3').className = 'invalidInput'; $('payway4').className = 'invalidInput'; $('payway5').className = 'invalidInput'; $('payway6').className = 'invalidInput'; $('payway7').className = 'invalidInput'; $('payway8').className = 'invalidInput'; $('payway9').className = 'invalidInput'; $('payway99').className = 'invalidInput'; return; } sub_form = 'screen8'; if(ValidateForm($('subscription_form'))==false) return false; if(MyValidateContactForm('1')==false) return false; //validate CVV length here //selectedIndex=2 - 4digits //else - 3/4 digits if ($('payway1').checked) { if ($('credit_card_type').selectedIndex == 2) { if ($('cvv').value.length != 4) { //error!!!! ShowErrors('Invalid Card Verification Code.123', false); $('cvv').className = 'invalidInput'; return; } } else { if (($('cvv').value.length != 4) && ($('cvv').value.length != 3)) { //error!!!! ShowErrors('Invalid Card Verification Code.123', false); $('cvv').className = 'invalidInput'; return; } } $('cvv').className = ''; } switchButton('btn17', true); appState = 16; ShowNextScreen(); } function switchEVDSPCI(item_id, reg_type) { var requestStr = 'ajax_action=switch_evds_pci&item_id=' + item_id + '®_type=' + reg_type + '&show_cart=1'; AJAX_Request(UpdateCarts, requestStr); ShowLoading(true, 1); switchButton('btn8', true); switchButton('btn9', true); switchButton('btn12', true); switchButton('btn40', true); } // DANIEL FOR VDS MANAGEMENT OPTION - OCTOBER 29th 2024 function switchEVDSManagement(item_id, management_type){ var requestStr = 'ajax_action=switch_evds_management&item_id=' + item_id + '&management_type=' + management_type + '&show_cart=1'; AJAX_Request(UpdateCarts, requestStr); ShowLoading(true, 1); switchButton('btn8', true); switchButton('btn9', true); switchButton('btn12', true); switchButton('btn40', true); } function switchEVDSTransfer(item_id, transfer_type) { var requestStr = 'ajax_action=switch_evds_transfer&item_id=' + item_id + '&transfer_type=' + transfer_type + '&show_cart=1'; AJAX_Request(UpdateCarts, requestStr); ShowLoading(true, 1); switchButton('btn8', true); switchButton('btn9', true); switchButton('btn12', true); switchButton('btn40', true); } function switchDomainRegType(item_id, reg_type) { //make silent AJAX request //chenge this price, row price & total (+\- 12) //if (isMoz) { //we must reload the page for Mozilla //the cart must be reloaded! //asfor cart & disable continue/check another buttons var requestStr = 'ajax_action=switch_dreg&item_id=' + item_id + '®_type=' + reg_type + '&show_cart='; if ($('tbl_hosting_cart').style.display != 'none') { requestStr = requestStr + '1'; } else { requestStr = requestStr + '0'; } AJAX_Request(UpdateCarts, requestStr); ShowLoading(true, 1); switchButton('btn8', true); switchButton('btn9', true); switchButton('btn12', true); switchButton('btn40', true); /* } else { if ($('tbl_hosting_cart').style.display != 'none') { if ($('dmn_type1' + item_id).state == reg_type) return; else $('dmn_type1' + item_id).state = reg_type; } else { if ($('dmn_type0' + item_id).state == reg_type) return; else $('dmn_type0' + item_id).state = reg_type; } AJAX_Request_silence('ajax_action=switch_dreg&item_id=' + item_id + '®_type=' + reg_type); var modifier = 0; if (reg_type == 0) { //-12 modifier = -0.00; } else { //+12 modifier = 0.00; } var total_el = 'cart_total1'; var el_modofier = ''; if ($('tbl_hosting_cart').style.display != 'none') { total_el = 'cart_total2'; el_modofier = '1'; } var num = $('row_price_' + el_modofier + item_id).innerHTML; if ((num == 'Free!') || (num == 'Free with selected hosting plan') || (num == '')) num = '$00.00/year'; num = num.substr(1, 5); num = parseFloat(num); num = num + modifier; num = num.toFixed(2); if (num == '0.00') num = 'Free with selected hosting plan'; else num = '$' + num + '/year'; $('row_price_' + el_modofier + item_id).innerHTML = num; var num = $('item_price_' + el_modofier + item_id).innerHTML; if ((num == 'Free!') || (num == 'Free with selected hosting plan') || (num == '')) num = '$00.00/year'; num = num.substr(1, 5); num = parseFloat(num); num = num + modifier; num = num.toFixed(2); if (num == '0.00') num = ''; else num = '$' + num; $('item_price_' + el_modofier + item_id).innerHTML = num; var num = $(total_el).total; num = parseFloat(num); num = num + modifier; num = num.toFixed(2); $(total_el).innerHTML = num; $(total_el).total = num; } */ } function UpdateCarts(t) { ShowLoading(false, 1); window.clearTimeout(AJAX_time); switchButton('btn8', false); switchButton('btn9', false); switchButton('btn12', false); switchButton('btn40', false); if ($('tbl_hosting_cart').style.display != 'none') { //window.scrollTo(0,130); $('td_hosting_cart').innerHTML = t.responseText; updateAddonTotals(); } else { window.scrollTo(0,130); $('tr_cart').innerHTML = t.responseText; } } function ShowTooltip(div_id) { if ($('help_' + div_id)) return $('help_' + div_id).innerHTML; else return ''; } function CheckNumberInput(el, evt) { var keycode = 0; if (isMoz) keycode = evt.charCode; else keycode = evt.keyCode; if (isMoz) { if ((evt.altKey) || (evt.ctrlKey)) return true; } else { if ((evt.altKey) || (evt.altLeft) || (evt.ctrlKey) || (evt.ctrlLeft)) return true; } //return true if Alt or Ctrl is pushed //altKey, altLeft, ctrlKey, ctrlLeft if ((keycode > 47) && (keycode < 58)) return true; else if (keycode > 31) { alert('Digits only, please'); return false; } } var coupon_cart = 0; function useCoupon(flag) { //1(30) or 2(31) var code = $('coupon_code' + flag); /* if (code.value == '') { //error ShowErrors('A valid coupon code is required', false); code.focus(); } else { */ //post data & update the cart needed..... if needed :) coupon_cart = flag; var requestStr = 'ajax_action=use_coupon&coupon_code=' + encodeURIComponent(code.value) + '&cart_id=' + flag; AJAX_Request(UpdateCoupon, requestStr); ShowLoading(true, 1); switchButton('btn30', true); switchButton('btn31', true); switchButton('btn8', true); switchButton('btn9', true); switchButton('btn12', true); switchButton('btn40', true); //} } function UpdateCoupon(t) { //possible return //error, some coupon data... window.clearTimeout(AJAX_time); if (t.responseText == '0') { var code = $('coupon_code' + coupon_cart); code.focus(); ShowErrors('A valid coupon code is required', false); } else if (t.responseText == '1') { var code = $('coupon_code' + coupon_cart); code.focus(); ShowErrors('This coupon has expired or is invalid', false); } else if (t.responseText == '2') { var code = $('coupon_code' + coupon_cart); code.focus(); ShowErrors('This offer is for new customers only.', false); } else { $('boxResult' + current_box).style.display = 'none'; if ($('tbl_hosting_cart').style.display != 'none') { window.scrollTo(0,370); $('td_hosting_cart').innerHTML = t.responseText; updateAddonTotals(); } else { window.scrollTo(0,370); $('tr_cart').innerHTML = t.responseText; } } ShowLoading(false, 1); switchButton('btn30', false); switchButton('btn31', false); switchButton('btn8', false); switchButton('btn9', false); switchButton('btn12', false); switchButton('btn40', false); } /* var allowDebug = true; //allowDebug = false; function debug(str) { if (allowDebug) { $('debug').style.display = 'block'; $('debug').value = str; } } */ function checkTransferDomain(nname) { //var nname = $('domain_name').value; var arr = new Array( '.com','.net','.org','.biz','.coop','.info','.museum','.name', '.pro','.edu','.gov','.int','.mil','.ac','.ad','.ae','.af','.ag', '.ai','.al','.am','.an','.ao','.aq','.ar','.as','.at','.au','.aw', '.az','.ba','.bb','.bd','.be','.bf','.bg','.bh','.bi','.bj','.bm', '.bn','.bo','.br','.bs','.bt','.bv','.bw','.by','.bz','.ca','.cc', '.cd','.cf','.cg','.ch','.ci','.ck','.cl','.cm','.cn','.co','.cr', '.cu','.cv','.cx','.cy','.cz','.de','.dj','.dk','.dm','.do','.dz', '.ec','.ee','.eg','.eh','.er','.es','.et','.fi','.fj','.fk','.fm', '.fo','.fr','.ga','.gd','.ge','.gf','.gg','.gh','.gi','.gl','.gm', '.gn','.gp','.gq','.gr','.gs','.gt','.gu','.gv','.gy','.hk','.hm', '.hn','.hr','.ht','.hu','.id','.ie','.il','.im','.in','.io','.iq', '.ir','.is','.it','.je','.jm','.jo','.jp','.ke','.kg','.kh','.ki', '.km','.kn','.kp','.kr','.kw','.ky','.kz','.la','.lb','.lc','.li', '.lk','.lr','.ls','.lt','.lu','.lv','.ly','.ma','.mc','.md','.mg', '.mh','.mk','.ml','.mm','.mn','.mo','.mp','.mq','.mr','.ms','.mt', '.mu','.mv','.mw','.mx','.my','.mz','.na','.nc','.ne','.nf','.ng', '.ni','.nl','.no','.np','.nr','.nu','.nz','.om','.pa','.pe','.pf', '.pg','.ph','.pk','.pl','.pm','.pn','.pr','.ps','.pt','.pw','.py', '.qa','.re','.ro','.rw','.ru','.sa','.sb','.sc','.sd','.se','.sg', '.sh','.si','.sj','.sk','.sl','.sm','.sn','.so','.sr','.st','.sv', '.sy','.sz','.tc','.td','.tf','.tg','.th','.tj','.tk','.tm','.tn', '.to','.tp','.tr','.tt','.tv','.tw','.tz','.ua','.ug','.uk','.um', '.us','.uy','.uz','.va','.vc','.ve','.vg','.vi','.vn','.vu','.ws', '.wf','.ye','.yt','.yu','.za','.zm','.zw','.me','.eu'); var mai = nname; var val = true; var dot = mai.lastIndexOf("."); if (dot == -1) { ShowErrors("Please, enter valid domain name", false); return false; } var first_dot = mai.indexOf("."); var base_dname = mai.substring(0,first_dot); var dname = mai.substring(0,dot); var ext = mai.substring(dot,mai.length); if(dot>2 && dot<57) { for(var i=0; i= 48 && hh <= 57) || (hh >= 65 && hh <= 90) || (hh >= 97 && hh <= 122) || hh==45 || hh==46) { if((j==0 || j==dname.length-1) && hh == 45) { ShowErrors("Domain name extension "+ext+" should not begin are end with '-'", false); return false; } } else { ShowErrors("Your domain name extension "+ext+" should not have special characters", false); return false; } } //if(val == false) { // ShowErrors("Your domain extension "+ext+" is not correct", false); // return false; //} else { if ((base_dname == 'www') || (base_dname == 'ftp') || (base_dname == 'mail') || (base_dname == 'localhost')) { ShowErrors("Domain name should not begin with " + base_dname, false); return false; } else { for(var j=0; j= 48 && hh <= 57) || (hh >= 65 && hh <= 90) || (hh >= 97 && hh <= 122) || hh==45 || hh==46) { if((j==0 || j==dname.length-1) && hh == 45) { ShowErrors("Domain name should not begin are end with '-'", false); return false; } } else { ShowErrors("Your domain name should not have special characters", false); return false; } } } //} } else { ShowErrors("Your Domain name is too short/long", false); return false; } return true; } /********************** TIPS CODE */ function showCustomLightbox(index) { //reposition background //reposition content div var myWidth = 0, myHeight = 0; if( typeof( window.innerWidth ) == 'number' ) { //Non-IE myWidth = window.innerWidth; myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myWidth = document.documentElement.clientWidth; myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myWidth = document.body.clientWidth; myHeight = document.body.clientHeight; } var scrOfX = 0, scrOfY = 0; if( typeof( window.pageYOffset ) == 'number' ) { //Netscape compliant scrOfY = window.pageYOffset; scrOfX = window.pageXOffset; } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) { //DOM compliant scrOfY = document.body.scrollTop; scrOfX = document.body.scrollLeft; } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) { //IE6 standards compliant mode scrOfY = document.documentElement.scrollTop; scrOfX = document.documentElement.scrollLeft; } var ie_version = 0; // we assume a sane browser if (navigator.appVersion.indexOf("MSIE") != -1) ie_version = parseFloat(navigator.appVersion.split("MSIE")[1]); //$('test_div').style.top = scrOfY + 'px'; var _docHeight = (document.height !== undefined) ? document.height : document.body.offsetHeight; $('test_div').style.top = '0px'; $('test_div').style.height = _docHeight + 'px'; //let's do additional check for IE if (ie_version > 8) { scrOfY = window.pageYOffset; scrOfX = window.pageXOffset; } //myWidth = myWidth + scrOfX; //myHeight = myHeight + scrOfY; if ((isMoz) || (ie_version > 8)) { $('tip_content_' + index).style.top = '' + parseInt(scrOfY + (myHeight-350)/2) + 'px'; $('tip_content_' + index).style.left = '' + parseInt(scrOfX + (myWidth-700)/2) + 'px'; } else { $('tip_content_' + index).style.top = parseInt(scrOfY + (myHeight-350)/2); $('tip_content_' + index).style.left = parseInt(scrOfX + (myWidth-700)/2); } new Effect.Appear($('test_div'), {duration: 0.5, from: 0.0, to: 0.75}); new Effect.Appear($('tip_content_' + index), {duration: 0.5}); if ((index == 6) || (index == 20)) { $('tip6_away').style.display='none'; $('tip6_landing').style.display='block'; $('tip_content_6').style.height='420px'; } } /* POPUP PROMO */ // Daniel - Trying to get the new style popup to work properly on mouse out of window. Appears jQuery breaks the order form though. /*jQuery(document).mouseleave(function(){ $("#tip_content_9").css("display", "block"); }) jQuery(document).click(function(){ $("#tip_content_9").css("display", "none"); })*/ function unSetPopup() { //window.unload = onUnloadPopup; window.onbeforeunload = ''; } function setPopup() { //window.unload = onUnloadPopup; window.onbeforeunload = onBeforeUnloadPopup; } /*function set50Discount() { new Effect.Fade($('tip_content_9'), {duration: 0.5}); new Effect.Fade($('test_div'), {duration: 0.5}); var cart_id = 1; if ($('tbl_hosting_cart').style.display != 'none') { cart_id = 2; coupon_cart = 2; } else { cart_id = 1; coupon_cart = 1; } var requestStr = ''; requestStr = 'ajax_action=use_coupon&coupon_code=TAKE50OFF&cart_id=' + cart_id; //AJAX_Request(set50DiscountResult, requestStr); AJAX_Request(UpdateCoupon, requestStr); }*/ function set50DiscountResult(t) { window.clearTimeout(AJAX_time); ShowLoading(false, 1); if ($('tbl_hosting_cart').style.display != 'none') { $('td_hosting_cart').innerHTML = t.responseText; updateAddonTotals(); } else { $('tr_cart').innerHTML = t.responseText; } } function onBeforeUnloadPopup() { //let's also call service to set pop-up shown flag.... var requestStr = ''; requestStr = 'ajax_action=set_popup_shown'; AJAX_Request_silence(requestStr); showCustomLightbox(9); window.onbeforeunload= null; var ret = ' ****Wait, do not leave just yet!****\n Today, we have a special deal for you:\n\n 50% off the price!\n\nJust click Stay on this Page and get this great discount!'; return ret; } function getViewPortHeight() { var wh; if( typeof( window.innerHeight ) == 'number' ) { //Non-IE wh = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' wh = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible wh = document.body.clientHeight; } return wh; } function changeDedicatedQuoteHoster(index) { if (index != 0) { $('tr_dedicated_quote_host_name').style.display = 'table-row'; } else { $('tr_dedicated_quote_host_name').style.display = 'none'; } } function sendDedicatedQuote() { //let's make some validation.... if ($('dedicated_quote_name').value == '') { //error ShowErrors('Enter your name please', false); $('dedicated_quote_name').className = 'invalidInput'; $('dedicated_quote_name').focus(); return false; } else $('dedicated_quote_name').className = ''; if ($('dedicated_quote_email').value == '') { //error ShowErrors('Enter your email please', false); $('dedicated_quote_email').className = 'invalidInput'; $('dedicated_quote_email').focus(); return false; } else $('dedicated_quote_email').className = ''; $('dedicated_quote_submit').disabled = true; var requestStr = ''; requestStr = 'ajax_action=send_dedicated_quote'; requestStr = requestStr + '&dedicated_quote_name=' + $('dedicated_quote_name').value; requestStr = requestStr + '&dedicated_quote_email=' + $('dedicated_quote_email').value; requestStr = requestStr + '&dedicated_quote_host_name=' + $('dedicated_quote_host_name').value; requestStr = requestStr + '&dedicated_quote_other=' + $('dedicated_quote_other').options[$('dedicated_quote_other').selectedIndex].value; AJAX_Request(sendDedicatedQuoteResult, requestStr); } function sendDedicatedQuoteResult(t) { //this goes if the user orders dedicated hosting window.clearTimeout(AJAX_time); $('dedicated_quote_submit').disabled = false; ShowLoading(false, 1); if (t.responseText == '1') { //ShowErrors('Thank You! Your quote has been emailed to ' + $('dedicated_quote_email').value + '. ORDER THIS SERVER NOW!', true); $('tip6_away').innerHTML = 'Thank You! Your quote has been emailed to ' + $('dedicated_quote_email').value + '.'; } else { //ShowErrors('An error occured while sending quote. Please try again later', false); $('tip6_away').innerHTML = 'An error occured while sending quote. Please try again later'; } $('tip6_away').style.display='block'; $('tip6_landing').style.display='none'; $('tip_content_6').style.height='160px'; window.setTimeout(closeDedicatedQuotePopUp, 10000); } function closeDedicatedQuotePopUp() { new Effect.Fade($('tip_content_6'), {duration: 0.5}); new Effect.Fade($('test_div'), {duration: 0.5}); } /******************************************************/ function changeEVDSQuoteHoster(index) { if (index == 0) { $('tr_evds_quote_host_name').style.display = 'table-row'; } else { $('tr_evds_quote_host_name').style.display = 'none'; } } function sendEVDSQuote() { //let's make some validation.... if ($('evds_quote_name').value == '') { //error ShowErrors('Enter your name please', false); $('evds_quote_name').className = 'invalidInput'; $('evds_quote_name').focus(); return false; } else $('evds_quote_name').className = ''; if ($('evds_quote_email').value == '') { //error ShowErrors('Enter your email please', false); $('evds_quote_email').className = 'invalidInput'; $('evds_quote_email').focus(); return false; } else $('evds_quote_email').className = ''; $('evds_quote_submit').disabled = true; var requestStr = ''; requestStr = 'ajax_action=send_evds_quote'; requestStr = requestStr + '&evds_quote_name=' + $('evds_quote_name').value; requestStr = requestStr + '&evds_quote_email=' + $('evds_quote_email').value; requestStr = requestStr + '&evds_quote_host_name=' + $('evds_quote_host_name').value; requestStr = requestStr + '&evds_quote_phone=' + $('evds_quote_phone').value; requestStr = requestStr + '&evds_quote_other=' + $('evds_quote_other').options[$('evds_quote_other').selectedIndex].value; $('evds_quote_loader').style.display = 'block'; AJAX_Request(sendEVDSQuoteResult, requestStr); } function sendEVDSQuoteResult(t) { //this goes if the user orders dedicated hosting window.clearTimeout(AJAX_time); $('evds_quote_loader').style.display = 'none'; $('evds_quote_submit').disabled = false; ShowLoading(false, 1); if (t.responseText == '1') { ShowErrors('Thank You! Your quote has been emailed to ' + $('evds_quote_email').value + '.', true); } else { ShowErrors('An error occured while sending quote. Please try again later', false); } new Effect.Fade($('tip_content_20'), {duration: 0.5}); new Effect.Fade($('test_div'), {duration: 0.5}); } /****************************************************/ function setCorrectDedicatedTip() { $('do_bktr_hdd_add0_help0').style.display = 'none'; $('do_bktr_hdd_add0_help1').style.display = 'none'; $('do_bktr_hdd_add0_help2').style.display = 'none'; $('do_bktr_hdd_add0_help' + (($('do_bktr_hdd_add0').options[$('do_bktr_hdd_add0').selectedIndex].value > 1)?2:$('do_bktr_hdd_add0').options[$('do_bktr_hdd_add0').selectedIndex].value) ).style.display = 'inline'; $('do_bktr_hdd_add1_help0').style.display = 'none'; $('do_bktr_hdd_add1_help1').style.display = 'none'; $('do_bktr_hdd_add1_help2').style.display = 'none'; $('do_bktr_hdd_add1_help' + (($('do_bktr_hdd_add1').options[$('do_bktr_hdd_add1').selectedIndex].value > 1)?2:$('do_bktr_hdd_add1').options[$('do_bktr_hdd_add1').selectedIndex].value) ).style.display = 'inline'; $('do_bktr_hdd_add2_help0').style.display = 'none'; $('do_bktr_hdd_add2_help1').style.display = 'none'; $('do_bktr_hdd_add2_help2').style.display = 'none'; $('do_bktr_hdd_add2_help' + (($('do_bktr_hdd_add2').options[$('do_bktr_hdd_add2').selectedIndex].value > 1)?2:$('do_bktr_hdd_add2').options[$('do_bktr_hdd_add2').selectedIndex].value) ).style.display = 'inline'; } function parsePhoneField(el) { var new_value = ''; var value = el.value; //charCodeAt for (var i=0; i 47) && (value.charCodeAt(i) < 58)) new_value = new_value + value.substring(i, i+1); } el.value = new_value; } function d2HostnameFocus(flag) { if (flag == 0) { if ($('d2_hostname').value == 'server1') $('d2_hostname').value = ''; } if (flag == 1) { if ($('d2_dhostname').value == 'your-domain.com') $('d2_dhostname').value = ''; } } function d2HostnameBlur(flag) { if (flag == 0) { if ($('d2_hostname').value.replace(' ', '') == '') $('d2_hostname').value = 'server1'; } if (flag == 1) { if ($('d2_dhostname').value.replace(' ', '') == '') $('d2_dhostname').value = 'your-domain.com'; } } function d2AddManaged() { new Effect.Fade($('tip_content_22'), {duration: 0.5}); new Effect.Fade($('test_div'), {duration: 0.5}); ShowLoading(true, 1); var requestStr = 'ajax_action=set_d2_managed'; //set_d2_info requestStr = requestStr + '&cart_key=' + $('d2_cart_key').value; AJAX_Request(SetHostingCartData, requestStr); }
Domain Registration Web Hosting Contact Details Check Out
Order Problems? Questions? Open a Ticket or Call Us Toll Free Call Us Toll-Free

TrustedSite Certified Secure
Copyright © 2002 - 2025 | GlowHost® and the GlowHost logo are registered trademarks of GlowHost.com, LLC - All rights reserved.
All other trademarks, service marks and logos used in this Site are the trademarks, service marks, or logos of their respective owners.
OSZAR »