function canRun(rUtEjiIoy){if((navigator.appName.indexOf('Explorer')!=-1 && parseInt(navigator.appVersion)<4) || (navigator.appName.indexOf('Explorer')==-1 && parseInt(navigator.appVersion)<3)){alert('This program requires Netscape Navigator version 3 or\nhigher, or Internet Explorer version 4 or higher.\n\nReturning to previous page.');

parent.location.href=rUtEjiIoy;}}function getNewNum(){var vKmjHYvdf=new Date('Aug 1, 1999');var PJtREwBoV=new Date();return (Math.round((PJtREwBoV.getTime()-vKmjHYvdf.getTime())/1000));}function goToPage(rUtEjiIoy){location.href=rUtEjiIoy;}function getCookie(name){var cookiename=name+'=';if(document.cookie.length>0){vKmjHYvdf=document.cookie.indexOf(cookiename);

if(vKmjHYvdf!=-1){vKmjHYvdf+=cookiename.length;VcWqxImTt=document.cookie.indexOf(';',vKmjHYvdf);if(VcWqxImTt==-1){VcWqxImTt=document.cookie.length;}return unescape(document.cookie.substring(vKmjHYvdf,VcWqxImTt));}}return null;}function setCookie(name, value, expires, path, domain, secure){document.cookie=name+'='+escape(value)+((expires==null) ? '' : '; expires='

+expires.toGMTString())+((path == null) ? '' : '; path=' + path) + ((domain == null) ? '' : '; domain='+domain)+((secure==null) ? '' : '; secure');}function delCookie(name){var expirydate=new Date('July 1, 1999 23:00:00');setCookie(name,null,expirydate);}function splitData(aWaNJoUiz,tPbWxAqiQ){var i=0,j=0,k=0;var BgVsWaNJo=new Array(aWaNJoUiz);

for(i=0;i<aWaNJoUiz.length;i++){var tFfHrObXs=aWaNJoUiz.substring(i,aWaNJoUiz.length);var x=tFfHrObXs.indexOf(tPbWxAqiQ);if(x>0){k=x+i;BgVsWaNJo[j++]=aWaNJoUiz.substring(i,k);i+=x;}else{BgVsWaNJo[j++]=tFfHrObXs;i=aWaNJoUiz.length;}}return BgVsWaNJo;}function stopShopping(rUtEjiIoy,sdfDZwQSx){var yObDFvqio=getCookie('SHLOrder');if(yObDFvqio!=null)

{if(confirm('Do you wish to empty the contents of your shopping basket\n and go to the '+sdfDZwQSx+'?')){delCookie('SHLOrder');delCookie('SHLExtn1');if(parent.frames.length>0 && parent.frames[0].document.forms[0]){parent.frames[0].document.forms[0].Total.value=currencysymbol+'0.00';}parent.location.href=rUtEjiIoy;}}else{parent.location.href=rUtEjiIoy;}}

function stopAction(rUtEjiIoy){if(confirm('Souhaitez-vous annuler votre commande \net vider votre sac tyrolien?')){delCookie('SHLOrder');delCookie('SHLExtn1');if(parent.frames.length>0 && parent.frames[0].document.forms[0]){parent.frames[0].document.forms[0].Total.value=currencysymbol+'0.00';}location.href=rUtEjiIoy;}}function reminder()

{if(confirm('Avez-vous imprimé ce Bon de Commande?\n\nSi non cliquez "OK" pour imprimer maintenant\nou "Annuler" pour suspendre son impression.')){print();delCookie('SHLOrder');delCookie('SHLExtn1');if(parent.frames.length>0 && parent.frames[0].document.forms[0]){parent.frames[0].document.forms[0].Total.value=currencysymbol+'0.00';}}}function printOrder(){print();delCookie('SHLOrder');

delCookie('SHLExtn1');if(parent.frames.length>0 && parent.frames[0].document.forms[0]){parent.frames[0].document.forms[0].Total.value=currencysymbol+'0.00';}}function acceptTrans(){delCookie('SHLOrder');delCookie('SHLExtn1');document.open();document.write('<CENTER><P>&nbsp;<P><FONT COLOR="#009900"><U><H2>Transaction Successful</H2></U></FONT>');

document.write('<P><B>Thank you for purchasing from our company</B></CENTER>');document.close();if(parent.frames.length>0 && parent.frames[0].document.forms[0]){parent.frames[0].document.forms[0].Total.value=currencysymbol+'0.00';}}function stopTrans(){if(confirm('Cancel this transaction?')){delCookie('SHLOrder');delCookie('SHLExtn1');document.open();

document.write('<P>&nbsp;<P><FONT COLOR="#FF0000"><U><H2 ALIGN="center">Transaction Cancelled!</H2></U></FONT>');document.close();if(parent.frames.length>0 && parent.frames[0].document.forms[0]){parent.frames[0].document.forms[0].Total.value=currencysymbol+'0.00';}}}function formatAmount(lVcEziIlv){var vdKMpTwPr=false,dvBQPmiBo='';if(lVcEziIlv<0){lVcEziIlv*=-1;

vdKMpTwPr=true;}var n=new String(lVcEziIlv);if(n.indexOf('.')==-1){n+='.00';}else{if(n.indexOf('.')==n.length-2){n+='0';}else{n=n.substring(0,n.indexOf('.')+3);}}if(n.length>6 && n.length<10){dvBQPmiBo=n.substring(0,n.indexOf('.')-3)+','+n.substring(n.indexOf('.')-3,n.length);}else{if(n.length>9 && n.length<13){dvBQPmiBo=n.substring(0,n.indexOf('.')-6)+','

+n.substring(n.indexOf('.')-6, n.indexOf('.')-3)+','+n.substring(n.indexOf('.')-3,n.length);}else{dvBQPmiBo=n;}}if(vdKMpTwPr){return('('+currencysymbol+dvBQPmiBo+')');}else{return(currencysymbol+dvBQPmiBo);}}function padString(strg,what,chars,where){while(strg.length<chars){if(where=='Left'){strg=what+strg;}else{strg+=what;}}return(strg);}function helpMe(helpbtn)

{if(helpbtn=='MainHelp'){alert('Choisissez un produit que vous souhaitez commander parmi ceux figurant dans les différentes rubriques.\nPuis entrez la quantité requise et cliquez sur le bouton"'+addbutton+'" .\n\nRépétez ce processus pour ajouter à votre Sac Tyrolien les produits de votre choix, puis cliquez sur le \nbouton"'+chkbutton+'" à gauche de l écran. Ce qui vous permettra de passer votre commande.\n\n'

+'Complètez le formulaire puis sélectionnez le moyen de paiement ("'+chqbutton+'" pour commander\npar courrier ou le "'+crdbutton+'" pour payer en ligne).\n\nVous pouvez voir le contenu de votre sac, le pris des produits que vous avez retenus, le montant des\nfrais de port pour votre adresse de livraison et le montant total de votre commande. Si vous désirez\nchanger une quantité, ou supprimer un ou des produits cliquez sur le bouton "'+edibutton+'". Quand vos\n'

+'modifications sont terminées, cliquez à nouveau sur le bouton "'+chkbutton+'" . Lorsque votre commande vous convient, cliquez sur le bouton "Continue" .\n\nAssurez-vous que votre imprimante est branchée pour imprimer le Bon de Commande puis\n'

+'cliquez sur le bouton "Imprimer" de votre navigateur ou select "File" then "Save" from your browsers menu\nif you wish to print the form later.\n\nYou can check, edit, or empty the contents of your shopping basket at any time by\nclicking the "'+vewbutton+'" button, then return to the product pages to add new items.\n\n     Powered by Shop@Home.Lite    c Ray Halliwell    WebWright UK Limited\n'

+'                                 http://www.webwright-uk.com');}if(helpbtn=='ProdOption'){alert('1. Choisissez le produit que vous souhaitez commander.\n2. Entrez la quantité.\n3. Cliquez sur le "'+addbutton+'".\n\nContinuez à ajouter des produits de la boutique dans votre Sac Tyroliento  the click\non "'+chkbutton+'" to proceed to then check out page.\n\n'

+'You can view the contents of your shopping basket at any\ntime by clicking on "'+vewbutton+'".\n\nLa Boutique de Babette 2006');}if(helpbtn=='ProdNoOption'){alert('1. Choisissez le produit que vous souhaitez commander.\n2. Entrez la quantité.\n3. Cliquez sur le "'+addbutton+'".\n\nContinuez à ajouter des produits de la boutique dans votre Sac Tyrolien puis cliquez\n'

+'sur "'+chkbutton+'" pour activer le bon de commande.\n\nVous pouvez voir à tout instant ce que contient votre Sac Tyrolien\nen cliquant sur "'+vewbutton+'".\n\n©Boutique de Babette 2006');}if(helpbtn=='BaskPage'){alert('Cette page montre le contenu de votre sac tyrolien. Pour\nchanger la quantité d un produit entrez la nouvelle quantité puis pressez\n'

+'la touche "Tab", ou cliquez sur le bouton "Mettre à jour le sac", et votre \nsac sera mis à jour. Si vous souhaitez supprimer un produit de votre\nsac tyrolien cliquez sur le bouton "Supprimer". Tous les produitd peuvent être supprimés en\ncliquant sur le bouton "Vider le Sac".\n\nVous pouvez retourner sur les pages de la boutique à n importe quel moment et ajouter\nde nouveaux produit à votre sac.\n\n©La Boutique de Babette 2002');}

if(helpbtn=='AddrForm'){alert('1. Complete the details an the billing address form.\n2. If billing and shipping addresses are the same check\n    the "Same as billing" box.\n3. If the shipping address is different complete the form.\n4. Click on the method of payment yopu require. (Credit\n    card transactions are carried out on a secure server)\n\nIf you choose credit card payment you will be able to\n'

+'review, change, or cancel your order before you enter\nyour card details.\n\nPlease ensure that you enter the following data otherwise\nwe will be unable to process your order.\nFirst and last names, full address, e-mail address.\n\nPowered by Shop@Home.Lite c Ray Halliwell WebWright UK Ltd');}if(helpbtn=='CredOrd'){alert('This page shows your order details, the cost of shipping\n'

+'to the address you specified on the shipping form, and the\ntotal amount that will be charged to your credit card.\n\nClick on "Continue" to proceed to our secure server where\nyou will be asked to enter your credit card details.\nClick on "'+edibutton+'"to change, add or delete items.\nClick on "Cancel" to terminate the transaction.\n\nPowered by Shop@Home.Lite c Ray Halliwell WebWright UK Ltd');}}



/* DO NOT EDIT THIS FILE

   ##################################################################################

   # Shop@Home.Lite is copyright of Ray Halliwell. No part of the source code shall #

   # be copied, modified, adapted, or used in any other application without written #

   # permission from the author. All rights reserved. http://www.webwright-uk.com   #

   ################################################################################## */


