//-----------------------------------
// Web Designs by Peter Purchase Submit Script 
// File name: pur_cart_en.js
// OWNER: pmato@excite.com
// AUTHOR: Web Designs by Peter
// Copyright: ©2004-2006 Web Designs by Peter, Inc.
// Permission given to use this script on your page.  
// A link to our Homepage would be appreciated in return.
// http://designsweb.bravehost.com/
// $Revision: 1 $
// $Date: 03/06/2006 01:02p $
// Free for all users, but leave in this header.
//---------------------------------------------------

//alert('js');

getCookieVal ();
if(GetCookie('PPSUP_D_en') == null || GetCookie('PPSUP_D_en') == "") {

var fname = "";
var lname = "";
var add_1 = "";
var add_2 = "";
var city = "";
var state = "";
var zip = "";
var ntel_a = "";
var ntel_b = "";
var ntel_c = "";
var dtel_a = "";
var dtel_b = "";
var dtel_c = "";
var co_name = "";
var co_title = "";
var email = "";
var no_pages = "";
var no_images = "";
var no_links = "";
var prem_host = "";
var domain_host = "";
var credit_cards = "";
var quantity1 = "";
var quantity2 = "";
var quantity3 = "";
var quantity4 = "";
var quantity5 = "";
var domain_no = "";
var comment = "";
var image_name1="chk_not.gif";
var image_name2="chk_not.gif";
var image_name3="chk_not.gif";
var image_name4="chk_not.gif";
var image_name5="chk_not.gif";
var image_name6="chk_not.gif";
var image_name7="chk_not.gif";
var image_name8="chk_not.gif";


                        var confmsg1 = "We will be asking you a series of questions to improve your experience by pre-populating the Information Fields and fill out your boxes in the form, for you. All you then have to do is verify and correct all the fields and submit the form request to us. Make sure all boxes on the form are empty and then Mouse over each box to fill it in automatically. Once recieved we will process your request. So please answer all the questions. Also you have to accept our cookie, we write to the cookie to store your information. so try not to delete the cookie, so that all the data will be in the right place. If you have more than one request, just press the reset button on the form to clear the cookie.\n\nWe should reply within 48hours, and thanks for your request\n\nClick OK to Proceed, or Cancel to Enter Manually.";
                        confirm(confmsg1); 

                        if (fname == "" || fname == "null")  {
                        fname = prompt("Please enter your FIRST NAME, only your first name please, like, John;", "John");

                        }
                        if (lname == "" || lname == "null")  {
                        lname = prompt("Please enter your LAST NAME, only your last or your sur name please, like, Doe;", "Doe"); 
                         
                        }
                        if (co_name == "" || co_name == "null")  {
                        co_name = prompt("Please enter your Company's NAME, like, Microsoft Corp.;", "Microsoft Corp."); 
                         
                        }
                        if (co_title == "" || co_title == "null")  {
                        co_title = prompt("Please enter your Company Title, like, Vice President;", "Vice President"); 
                         
                        }
                        if (add_1 == "" || add_1 == "null")  {
                        add_1 = prompt("Please enter your ADDRESS, only your street name and number please, like, 9 Elm Street;", "9 Elm Street");

                        }
                        if (add_2 == "" || add_2 == "null")  {
                        add_2 = prompt("Please enter your ADDRESS, only your Apt 5 or your P.O. box please, like, Apt 5;", "Apt 5"); 
                         
                        }
                        if (email == "" || email == "null")  {
                        email = prompt("Please enter your EMAIL ADDRESS, like, ID@service.com;", "ID@service.com");

                        }
                        if (city == "" || city == "null")  {
                        city = prompt("Please enter your City, like Paris or Falls Church or Moscow:", "Paris"); 
                    
                        }
                        if (state == "" || state == "null")  {
                        state = prompt("Please enter your State or Province like Virginia enter:", "VA"); 
                    
                        }
                        if (zip == "" || zip == "null")  {
                        zip = prompt("Please enter your Postal Zip Code, like 07202:", "07202"); 
                    
                        }
                        if (ntel_a == "" || ntel_a == "null")  {
                        ntel_a = prompt("Please enter your Night Phone Area Code, 3 digirs only, like 908:", "908"); 
                    
                        }
                        if (ntel_b == "" || ntel_b == "null")  {
                        ntel_b = prompt("Please enter your Night Phone Prefix Code, 3 digirs only, like 223:", "223"); 
                    
                        }
                        if (ntel_c == "" || ntel_c == "null")  {
                        ntel_c = prompt("Please enter your Night Phone Last 4 Numbers, 4 digirs only, like 1234:", "1234"); 
                    
                        }
                        if (dtel_a == "" || dtel_a == "null")  {
                        dtel_a = prompt("Please enter your Day Phone Area Code, 3 digirs only, like 908:", "908"); 
                    
                        }
                        if (dtel_b == "" || dtel_b == "null")  {
                        dtel_b = prompt("Please enter your Day Phone Prefix Code, 3 digirs only, like 223:", "223"); 
                    
                        }
                        if (dtel_c == "" || dtel_c == "null")  {
                        dtel_c = prompt("Please enter your Day Phone Last 4 Numbers, 4 digirs only, like 1234:", "1234"); 
                    
                        }
                        if (no_pages == "" || no_pages == "null")  {
                        no_pages = prompt("Please Estimate How many Total Web Pages will you need? Extra charges if more than 4 total pages, like 10:", "4"); 
                    
                        }
                        if (no_images == "" || no_images == "null")  {
                        no_images = prompt("Please Estimate How many Total Images for all Pages will you need? Extra charges if more than 40 total images, like 100:", "40"); 
                    
                        }
                        if (no_links == "" || no_links == "null")  {
                        no_links = prompt("Please Estimate How many Total Links for all Pages will you need? Extra charges if more than 50 total links, like 100:", "50"); 
                    
                        }
                        if (domain_host == "" || domain_host == "null")  {
                        domain_host = prompt("Example [www.1.com] is a Domain, and [a.1.com or b.1.com] are Sub-Domains. Do you need to Register a Domain Name? Reply yes or no:", "yes"); 
                    
                        }
                        if (prem_host == "" || prem_host == "null")  {
                        prem_host = prompt("Premium Hosting offers 1 Domain Name Free, for 1 year and you can have up to 200 free Sub-Domains? Do you want Premium Hosting? Reply yes or no:", "yes"); 
                        if (prem_host == "yes" || prem_host == "Yes")  { cookieCreater1 (); }
                        if (prem_host == "no" || prem_host == "No")  { cookieCreater2 (); }
                                            
                        }
                        if (domain_no == "" || domain_no == "null")  {
                        domain_no = prompt("You can also Register more Domain Names. Do you need to Register more than one Domain Name(s)? Enter number of total Domains, like 3:", "1"); 
                    
                        }
                        if (credit_cards == "" || credit_cards == "null")  {
                        credit_cards = prompt("Do you need to accept Credit Cards?, reply yes or no:", "yes"); 
                    
                        }
                        if (quantity1 == "" || quantity1 == "null")  {
                        quantity1 = prompt("Your Allowed Four Web Pages. Please Enter the Number of Additional Web Pages you will need created, if more than 4, at $25.00/page, like 0:", "0"); 
                    
                        }
                        if (quantity2 == "" || quantity2 == "null")  {
                        quantity2 = prompt("We'll Setup Four Web Services out of 30. You're Responsible for any more you want to use. Enter the # of Additional Services you will need help with, at $10.00/ea, like 0:", "0"); 
                    
                        }
                        if (quantity3 == "" || quantity3 == "null")  {
                        quantity3 = prompt("We can Design Graphics Images/Banners/Animated Gifs at $ 35.00 per hour. Please Enter the Number of Graphics Designing Charge Hours to add, like 0:", "0"); 
                    
                        }
                        if (quantity4 == "" || quantity4 == "null")  {
                        quantity4 = prompt("We can Design Custom Programs at $ 35.00 per hour. Please Enter the Number of Custom Programs Designing Charge Hours to add, like 0:", "0"); 
                    
                        }
                        if (quantity5 == "" || quantity5 == "null")  {
                        quantity5 = prompt("We can Translate pages to Spanish at $ 25.00 per page. More Languages Available. Please Enter the Number of Translation Charge Pages to add, like 0:", "0"); 
                    
                        }
                        if (comment == "" || comment == "null")  {
                        comment = prompt("Please enter a Short Description of the Web Site you would like to create:", "I want a Site that "); 
                        cookieCreater16 ();
                        }



var Pdata=("first_name=" +fname+ "&last_name=" +lname+ "&address1=" +add_1+ "&address2=" +add_2+ "&city=" +city+ "&state=" +state+ "&zip=" +zip+ "&night_phone_a=" +ntel_a+ "&night_phone_b=" +ntel_b+ "&night_phone_c=" +ntel_c+ "&day_phone_a=" +dtel_a+ "&day_phone_b=" +dtel_b+ "&day_phone_c=" +dtel_c+ "&");
DeleteCookie ();
cookieCreater ();

var Sdata=("co_name=" +co_name+ "co_title=" +co_title+ "email=" +email+ "no_pages=" +no_pages+ "no_images=" +no_images+ "no_links=" +no_links+ "domain_host=" +domain_host+ "credit_cards=" +credit_cards+ "quantity1=" +quantity1+ "quantity2=" +quantity2+ "quantity3=" +quantity3+ "quantity4=" +quantity4+ "quantity5=" +quantity5+ "domain_no=" +domain_no+ "");
DeleteCookie3 ();
cookieCreater3 ();

var image_name0="chk_gray.gif";
var image_name1="chk_not.gif";
var image_name2="chk_not.gif";
var image_name3="chk_not.gif";
var image_name4="chk_not.gif";
var image_name5="chk_not.gif";
var image_name6="chk_not.gif";
var image_name7="chk_not.gif";
var image_name8="chk_not.gif";


var chk_pq=no_pages;
if(chk_pq >= "5") { var image_name1="chk_gray.gif"; }

var chk_mq=no_images;
if(chk_mq >= "41") { var image_name2="chk_gray.gif"; }

var chk_lq=no_links;
if(chk_lq >= "51") { var image_name3="chk_gray.gif"; }

var chk_dq=domain_no;
if(chk_dq == "1" && prem_host == "yes") { var image_name4="chk_not.gif"; }

var chk_dq=domain_no;
if(chk_dq >= "2" && prem_host == "yes") { var image_name4="chk_gray.gif"; }

var chk_sq=quantity2;
if(chk_sq >= "1") { var image_name5="chk_gray.gif"; }

var chk_gq=quantity3;
if(chk_gq >= "1") { var image_name6="chk_gray.gif"; }

var chk_cq=quantity4;
if(chk_cq >= "1") { var image_name7="chk_gray.gif"; }

var chk_tq=quantity5;
if(chk_tq >= "1") { var image_name8="chk_gray.gif"; }

var img_data=("i_name1=" +image_name1+ "i_name2=" +image_name2+ "i_name3=" +image_name3+ "i_name4=" +image_name4+ "i_name5=" +image_name5+ "i_name6=" +image_name6+ "i_name7=" +image_name7+ "i_name8=" +image_name8+ "");
DeleteCookie21 ();
cookieCreater21 ();

}

function sel_0()
{
paypalWin = window.open('https://www.paypal.com/cgi-bin/webscr? cmd=_cart&business=Franchesca%40claussanta.com&no_note=1&currency_code=USD&no_shipping=1&cancel_return=http://storage.claussanta.com/info_form_en.htm&rm=2&return=http://storage.claussanta.com/pur_form_en.htm&' +Pdata+ 'page_style=webdsg&custom=1&notify_url=http://storage.claussanta.com/thankyou_form_en.html&display=1');
}

var Pdata=GetCookie('PPSUP_D_en');

function sel_001()
{
paypalWin = window.open('https://www.paypal.com/cgi-bin/webscr? cmd=_cart&business=Franchesca%40claussanta.com&item_name=Premium Hosting Web Site&item_number=0001&amount=299.00&no_note=1&currency_code=USD&no_shipping=1&cancel_return=http://storage.claussanta.com/info_form_en.htm&rm=2&return=http://storage.claussanta.com/pur_form_en.htm&' +Pdata+ 'page_style=webdsg&custom=1&notify_url=http://storage.claussanta.com/thankyou_form_en.html&add=1');
}

function sel_002()
{
paypalWin = window.open('https://www.paypal.com/cgi-bin/webscr? cmd=_cart&business=Franchesca%40claussanta.com&item_name=Free Hosting Web Site&item_number=0002&amount=199.00&no_note=1&currency_code=USD&no_shipping=1&cancel_return=http://storage.claussanta.com/info_form_en.htm&rm=2&return=http://storage.claussanta.com/pur_form_en.htm&' +Pdata+ 'page_style=webdsg&custom=1&notify_url=http://storage.claussanta.com/thankyou_form_en.html&add=1');
}

function sel_003()
{
var y=GetCookie('PPSUP_D2_en'); 

var qty=y.substring(y.lastIndexOf('quantity1=')+10,y.lastIndexOf('quantity2='));

paypalWin = window.open('https://www.paypal.com/cgi-bin/webscr? cmd=_cart&business=Franchesca%40claussanta.com&item_name=Additional Web Pages&item_number=0010&amount=25.00&no_note=1&currency_code=USD&no_shipping=1&cancel_return=http://storage.claussanta.com/info_form_en.htm&rm=2&return=http://storage.claussanta.com/pur_form_en.htm&' +Pdata+ 'page_style=webdsg&custom=1&notify_url=http://storage.claussanta.com/thankyou_form_en.html&add=1&page_style=webdsg&custom=1&quantity=' +qty+ '');
}

function sel_004()
{
var y=GetCookie('PPSUP_D2_en'); 

var qty=y.substring(y.lastIndexOf('quantity2=')+10,y.lastIndexOf('quantity3='));

paypalWin = window.open('https://www.paypal.com/cgi-bin/webscr? cmd=_cart&business=Franchesca%40claussanta.com&item_name=Additional Services&item_number=0011&amount=10.00&no_note=1&currency_code=USD&no_shipping=1&cancel_return=http://storage.claussanta.com/info_form_en.htm&rm=2&return=http://storage.claussanta.com/pur_form_en.htm&' +Pdata+ 'page_style=webdsg&custom=1&notify_url=http://storage.claussanta.com/thankyou_form_en.html&add=1&page_style=webdsg&custom=1&quantity=' +qty+ '');
}

function sel_005()
{
var y=GetCookie('PPSUP_D2_en'); 

var qty=y.substring(y.lastIndexOf('quantity3=')+10,y.lastIndexOf('quantity4='));

paypalWin = window.open('https://www.paypal.com/cgi-bin/webscr? cmd=_cart&business=Franchesca%40claussanta.com&item_name=Graphics Designing&item_number=0012&amount=35.00&no_note=1&currency_code=USD&no_shipping=1&cancel_return=http://storage.claussanta.com/info_form_en.htm&rm=2&return=http://storage.claussanta.com/pur_form_en.htm&' +Pdata+ 'page_style=webdsg&custom=1&notify_url=http://storage.claussanta.com/thankyou_form_en.html&add=1&page_style=webdsg&custom=1&quantity=' +qty+ '');
}

function sel_006()
{
var y=GetCookie('PPSUP_D2_en'); 

var qty=y.substring(y.lastIndexOf('quantity4=')+10,y.lastIndexOf('quantity5='));

paypalWin = window.open('https://www.paypal.com/cgi-bin/webscr? cmd=_cart&business=Franchesca%40claussanta.com&item_name=Custom Programs Designed&item_number=0013&amount=35.00&no_note=1&currency_code=USD&no_shipping=1&cancel_return=http://storage.claussanta.com/info_form_en.htm&rm=2&return=http://storage.claussanta.com/pur_form_en.htm&' +Pdata+ 'page_style=webdsg&custom=1&notify_url=http://storage.claussanta.com/thankyou_form_en.html&add=1&page_style=webdsg&custom=1&quantity=' +qty+ '');
}

function sel_007()
{
var y=GetCookie('PPSUP_D2_en'); 

var qty=y.substring(y.lastIndexOf('quantity5=')+10,y.lastIndexOf('domain_no='));

paypalWin = window.open('https://www.paypal.com/cgi-bin/webscr? cmd=_cart&business=Franchesca%40claussanta.com&item_name=Spanish Translations&item_number=0014&amount=25.00&no_note=1&currency_code=USD&no_shipping=1&cancel_return=http://storage.claussanta.com/info_form_en.htm&rm=2&return=http://storage.claussanta.com/pur_form_en.htm&' +Pdata+ 'page_style=webdsg&custom=1&notify_url=http://storage.claussanta.com/thankyou_form_en.html&add=1&page_style=webdsg&custom=1&quantity=' +qty+ '');
}

function sel_008()
{
var y=GetCookie('PPSUP_D2_en'); 

var qty=y.substring(y.lastIndexOf('no_images=')+10,y.lastIndexOf('no_links='));

var qty=parseInt(qty) - parseInt(40);

paypalWin = window.open('https://www.paypal.com/cgi-bin/webscr? cmd=_cart&business=Franchesca%40claussanta.com&item_name=Additional Images Charged&item_number=0015&amount=1.00&no_note=1&currency_code=USD&no_shipping=1&cancel_return=http://storage.claussanta.com/info_form_en.htm&rm=2&return=http://storage.claussanta.com/pur_form_en.htm&' +Pdata+ 'page_style=webdsg&custom=1&notify_url=http://storage.claussanta.com/thankyou_form_en.html&add=1&page_style=webdsg&custom=1&quantity=' +qty+ '');
}

function sel_009()
{
var y=GetCookie('PPSUP_D2_en'); 

var qty=y.substring(y.lastIndexOf('no_links=')+9,y.lastIndexOf('domain_host='));

var qty=parseInt(qty) - parseInt(50);

paypalWin = window.open('https://www.paypal.com/cgi-bin/webscr? cmd=_cart&business=Franchesca%40claussanta.com&item_name=Additional Links Charged&item_number=0016&amount=1.00&no_note=1&currency_code=USD&no_shipping=1&cancel_return=http://storage.claussanta.com/info_form_en.htm&rm=2&return=http://storage.claussanta.com/pur_form_en.htm&' +Pdata+ 'page_style=webdsg&custom=1&notify_url=http://storage.claussanta.com/thankyou_form_en.html&add=1&page_style=webdsg&custom=1&quantity=' +qty+ '');
}

function sel_010()
{
var reg2=GetCookie('PPSUP_Domain_en'); 
var reg1=GetCookie('PPSUP_Hosting_en'); 
var reg=GetCookie('PPSUP_EXDomain_en'); 

if (reg1 == '199.00'){ 
var qty=(reg); 
}

if (reg1 == '299.00'){ 
var y=GetCookie('PPSUP_D2_en'); 
var len=y.length; 
var qty=y.substring(y.lastIndexOf('domain_no=')+10,len);
var qty=parseInt(qty) - parseInt(1);
}

paypalWin = window.open('https://www.paypal.com/cgi-bin/webscr? cmd=_cart&business=Franchesca%40claussanta.com&item_name=Domain Name Registration&item_number=0017&amount=10.00&no_note=1&currency_code=USD&no_shipping=1&cancel_return=http://storage.claussanta.com/info_form_en.htm&rm=2&return=http://storage.claussanta.com/pur_form_en.htm&' +Pdata+ 'page_style=webdsg&custom=1&notify_url=http://storage.claussanta.com/thankyou_form_en.html&add=1&page_style=webdsg&custom=1&quantity=' +qty+ '');
}

function getCookieVal (offset) {

var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie (name)  {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen)  {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break; 
}
return null;
}
function SetCookie (name, value)  {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}

function DeleteCookie () { 
var exp = new Date();
exp.setTime (exp.getTime() - 1000000000);  // This cookie is history
var cval = GetCookie ('PPSUP_D_en');
document.cookie ='PPSUP_D_en' + "=" + cval + "; expires=" + exp.toGMTString();    
}

function cookieCreater () {
if(GetCookie('PPSUP_D_en') == null) {
var PPSUP_Ddata_en = Pdata;
if (PPSUP_Ddata_en != null && PPSUP_Ddata_en != "") {
var expdate = new Date (); 
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); 
SetCookie('PPSUP_D_en', PPSUP_Ddata_en, expdate);


   }
}
else {
DeleteCookie ();
cookieCreater ();
}
}

function DeleteCookie1 () { 
var exp = new Date();
exp.setTime (exp.getTime() - 1000000000);  // This cookie is history
var cval = GetCookie ('PPSUP_Hosting_en');
document.cookie ='PPSUP_Hosting_en' + "=" + cval + "; expires=" + exp.toGMTString();    
}

function cookieCreater1 () {
if(GetCookie('PPSUP_Hosting_en') == null) {
var PPSUP_Hdata_en = "299.00";
if (PPSUP_Hdata_en != null && PPSUP_Hdata_en != "") {
var expdate = new Date (); 
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); 
SetCookie('PPSUP_Hosting_en', PPSUP_Hdata_en, expdate);


   }
}
else {
DeleteCookie1 ();
cookieCreater1 ();
}
}

function cookieCreater2 () {
if(GetCookie('PPSUP_Hosting_en') == null) {
var PPSUP_Hdata_en = "199.00";
if (PPSUP_Hdata_en != null && PPSUP_Hdata_en != "") {
var expdate = new Date (); 
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); 
SetCookie('PPSUP_Hosting_en', PPSUP_Hdata_en, expdate);


   }
}
else {
DeleteCookie1 ();
cookieCreater2 ();
}
}

function DeleteCookie3 () { 
var exp = new Date();
exp.setTime (exp.getTime() - 1000000000);  // This cookie is history
var cval = GetCookie ('PPSUP_D2_en');
document.cookie ='PPSUP_D2_en' + "=" + cval + "; expires=" + exp.toGMTString();    
}

function cookieCreater3 () {
if(GetCookie('PPSUP_D2_en') == null) {
var PPSUP_Ddata2_en = Sdata;
if (PPSUP_Ddata2_en != null && PPSUP_Ddata2_en != "") {
var expdate = new Date (); 
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); 
SetCookie('PPSUP_D2_en', PPSUP_Ddata2_en, expdate);


   }
}
else {
DeleteCookie3 ();
cookieCreater3 ();
}
}

function DeleteCookie4 () { 
var exp = new Date();
exp.setTime (exp.getTime() - 1000000000);  // This cookie is history
var cval = GetCookie ('PPSUP_EP_en');
document.cookie ='PPSUP_EP_en' + "=" + cval + "; expires=" + exp.toGMTString();    
}

function cookieCreater4 () {
if(GetCookie('PPSUP_EP_en') == null) {
var PPSUP_EPdata_en = document.form1.ex_pages.value;
if (PPSUP_EPdata_en != null && PPSUP_EPdata_en != "") {
var expdate = new Date (); 
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); 
SetCookie('PPSUP_EP_en', PPSUP_EPdata_en, expdate);


   }
}
else {
DeleteCookie4 ();
cookieCreater4 ();
}
}

function DeleteCookie9 () { 
var exp = new Date();
exp.setTime (exp.getTime() - 1000000000);  // This cookie is history
var cval = GetCookie ('PPSUP_TotalSum_en');
document.cookie ='PPSUP_TotalSum_en' + "=" + cval + "; expires=" + exp.toGMTString();    
}

function cookieCreater9 () {
if(GetCookie('PPSUP_TotalSum_en') == null) {
var PPSUP_TSdata_en = document.form1.TPages.value;
if (PPSUP_TSdata_en != null && PPSUP_TSdata_en != "") {
var expdate = new Date (); 
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); 
SetCookie('PPSUP_TotalSum_en', PPSUP_TSdata_en, expdate);


   }
}
else {
DeleteCookie9 ();
cookieCreater9 ();
}
}

cookieCreater12 ();
function DeleteCookie12 () { 
var exp = new Date();
exp.setTime (exp.getTime() - 1000000000);  // This cookie is history
var cval = GetCookie ('PPSUP_NEXDomain_en');
document.cookie ='PPSUP_NEXDomain_en' + "=" + cval + "; expires=" + exp.toGMTString();    
}

function cookieCreater12 () {
if(GetCookie('PPSUP_NEXDomain_en') == null) {
var PPSUP_NEXDNdata_en = "0";
if (PPSUP_NEXDNdata_en != null && PPSUP_NEXDNdata_en != "") {
var expdate = new Date (); 
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); 
SetCookie('PPSUP_NEXDomain_en', PPSUP_NEXDNdata_en, expdate);


   }
}
else {
DeleteCookie12 ();
cookieCreater12 ();
}
}


function DeleteCookie16 () { 
var exp = new Date();
exp.setTime (exp.getTime() - 1000000000);  // This cookie is history
var cval = GetCookie ('PPSUP_COMMENTS_en');
document.cookie ='PPSUP_COMMENTS_en' + "=" + cval + "; expires=" + exp.toGMTString();    
}

function cookieCreater16 () {
if(GetCookie('PPSUP_COMMENTS_en') == null) {
var PPSUP_COMNTSdata_en = comment;
if (PPSUP_COMNTSdata_en != null && PPSUP_COMNTSdata_en != '') {
var expdate = new Date (); 
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); 
SetCookie('PPSUP_COMMENTS_en', PPSUP_COMNTSdata_en, expdate);


   }
}
else {
DeleteCookie16 ();
cookieCreater16 ();
}
}

function DeleteCookie21 () { 
var exp = new Date();
exp.setTime (exp.getTime() - 1000000000);  // This cookie is history
var cval = GetCookie ('CHKD_Images');
document.cookie ='CHKD_Images' + "=" + cval + "; expires=" + exp.toGMTString();    
}

function cookieCreater21 () {
if(GetCookie('CHKD_Images') == null) {
var CHKD_Idata = img_data;
if (CHKD_Idata != null && CHKD_Idata != "") {
var expdate = new Date (); 
expdate.setTime(expdate.getTime() + (24 * 60 * 60 * 1000 * 365)); 
SetCookie('CHKD_Images', CHKD_Idata, expdate);


   }
}
else {
DeleteCookie21 ();
cookieCreater21 ();
}
}

function doReset()
{
if (GetCookie ('PPSUP_D_en')) {DeleteCookie ();}
if (GetCookie ('PPSUP_Hosting_en')) {DeleteCookie1 ();}
if (GetCookie('PPSUP_D2_en')) {DeleteCookie3 ();}
if (GetCookie('PPSUP_EP_en')) {DeleteCookie4 ();}
if (GetCookie ('PPSUP_TotalSum_en')) {DeleteCookie9 ();}
if (GetCookie ('PPSUP_Domain_en')) {DeleteCookie10 ();} 
if (GetCookie ('PPSUP_EXDomain_en')) {DeleteCookie11 ();}
if (GetCookie('PPSUP_NEXDomain_en')) {DeleteCookie12 ();}
if (GetCookie ('PPSUP_PPSEL_en')) {DeleteCookie13 ();}
if (GetCookie ('PPSUP_COUNTRY_en')) {DeleteCookie14 ();}
if (GetCookie ('PPSUP_COMMENTS_en')) {DeleteCookie15 ();}
if (GetCookie('PPSUP_COMMENTS_en')) {DeleteCookie16 ();}
if (GetCookie('CHKD_Images')) {DeleteCookie21 ();}
location.reload();
}
