// designarcade.co.uk: shared javascript // assign variables var a0 = ''; // av text var a1 = ''; // av text var a2 = ''; // av text var a3 = ''; // av text var a4 = ''; // av text var ad = ''; // av duration var af = ''; // audio file var ai = ''; // av id var al = ''; // av locator var ao = ''; // av object var ap = ''; // auto-play var ar = ''; // array var as = ''; // av state var at = ''; // av timer var b0 = ''; // browser text var b1 = ''; // browser text var b2 = ''; // browser text var bc = 0; // blink counter: var bg = 0; // background colour var bi = ''; // box id var bk = ''; // blank var bo = ''; // box object var bt = 0; // blink timer: var by = 0; // bottom y var c0 = ''; // copyright text var c1 = ''; // copyright text var c2 = ''; // copyright text var cc = ''; // client contact phone number: var cd = ''; // client description var ce = ''; // client email: var ch = ''; // cherry heaven tv var ci = ''; // clicker id var ck = ''; // coie var cl = ''; // colour var cn = ''; // client name var co = ''; // clicker object var cp = 0; // character position var cs = ''; // client shop var ct = ''; // card type var cu = ''; // client url var cv = ''; // client vat var cx = 0; // coie expiry var d0 = ''; // delivery text var d1 = ''; // delivery text var d2 = ''; // delivery text var d3 = ''; // delivery text var d4 = ''; // delivery text var d5 = ''; // delivery text var d6 = ''; // delivery text var da = ''; // day array var dc = 0; // dispersion counter var di = ''; // div id: var dn = ''; // date now: var ds = 0; // days var dt = ''; // date var du = ''; // destination url var dv = ''; // div object var dy = ''; // day var e0 = ''; // educational discount text var e1 = ''; // educational discount text var e2 = ''; // educational discount text var ei = ''; // email link id: var en = ''; // end clicker var es = ''; // email subject: var ev = ''; // event var f0 = ''; // form text var f1 = ''; // form text var f2 = ''; // form text var fa = ''; // form action var fc = 0; // fragment counter var fd = ''; // form data var ff = ''; // flash file var fg = 0; // foregound colour var fh = ''; // field help var fi = ''; // field id var fo = ''; // field object var fr = 0; // fragment var fs = 0; // fragments var ft = 0; // float timer var fv = ''; // favourite var g0 = ''; // jpgt text var g1 = ''; // jpgt text var gp = ''; // gallery pop-up parameters var h0 = ''; // holiday text var h1 = ''; // holiday text var h2 = ''; // holiday text var hi = ''; // help id var ho = ''; // help object var hp = ''; // helicopter-pop-up parameters var ht = 0; // height var hv = ''; // hover colour var i1 = ''; // image 1 var i2 = ''; // image 2 var i3 = ''; // image 3 var ic = 0; // item counter var ii = ''; // item id var im = ''; // item var io = ''; // item object var ip = 0; // item price var ir = ''; // item reference var is = 0; // item step var it = ''; // item timer var jb = 0; // jw player button colour var jc = 0; // jw player control bar colour var jh = 0; // jw player hover colour var ji = ''; // jw player start-up image var jp = 0; // jw player colour var kc = 0; // kite counter var kd = 0; // kite duration var kh = 0; // kite space horizontal var ki = ''; // kite id var kl = 0; // kite loop var ko = ''; // kite object var kp = 0; // kite position var ks = 0; // kites var kt = 0; // kite timer var kv = 0; // kite space vertical var kw = 0; // kite wind re-position var l0 = ''; // link text var l1 = ''; // link text var l2 = ''; // link text var l3 = ''; // link text var l4 = ''; // link text var l5 = ''; // link text var l6 = ''; // link text var l7 = ''; // link text var l8 = ''; // link text var l9 = ''; // link text var lc = 0; // loop counter var li = ''; // link id: var lk = ''; // link var lm = ''; // link marker var lo = ''; // link object var lp = ''; // landscape-pop-up parameters var ls = 0; // loop step var lt = ''; // loop timer var lx = 0; // left x var ma = ''; // month array var mf = ''; // mail form var mh = ''; // month var mi = ''; // menu id var ml = ''; // mail link var mo = ''; // menu object var mn = ''; // menu var mp = ''; // message-pop-up parameters var ms = 0; // minutes: var mx = 0; // mouse x var my = 0; // mouse y var nc = ''; // navigator code: var nd = ''; // new date: var ng = ''; // navigator: var nn = ''; // navigator name: var ns = ''; // new source var nt = 0; // new time var nu = ''; // navigator user agent: var nx = 0; // new x: var ny = 0; // new y: var o0 = ''; // object class id text var o1 = ''; // object class id text var oa = ''; // over action clicker var oc = ''; // object counter var od = ''; // old date var oi = ''; // object id var os = ''; // old source var ot = 0; // old time var ox = 0; // old x: var oy = 0; // old y: var p0 = ''; // price text var p1 = ''; // price text var pc = ''; // page code var pf = ''; // pay form var pg = ''; // page link: var pi = ''; // player id var pl = ''; // passive link colour var pm = ''; // pop-up marker var pn = ''; // pop-up name var po = ''; // player object var pp = ''; // portrait-pop-up parameters var ps = ''; // player state var pt = 0; // pay total var pw = ''; // password var py = 0; // pay var qt = 0; // quit time var ra = ''; // reveal array: var ri = ''; // reveal object id: var ro = ''; // reveal object: var rp = 0; // repeat var rt = ''; // reveal timer: var ru = ''; // referrer url var rx = 0; // right x var s0 = ''; // status text: var s1 = ''; // status text var s2 = ''; // status text: var s3 = ''; // status text var s4 = ''; // status text var s5 = ''; // status text: var s6 = ''; // status text var s7 = ''; // status text var s8 = ''; // status text: var s9 = ''; // status text: var sA = ''; // status text var sB = ''; // status text var sC = ''; // status text var sD = ''; // status text var sE = ''; // status text: var sF = ''; // status text var sG = ''; // status text var sa = ''; // shared address var sb = ''; // substring var sc = ''; // shared call var se = ''; // shared email var sf = ''; // sale form var si = ''; // span id var sh = 0; // hours var sn = ''; // shared name var sl = ''; // shopping list var so = ''; // show object var sp = ''; // send pay form var ss = 0; // seconds: var su = ''; // shared url var sv = ''; // shared vat var sw = ''; // send wish form var t1 = ''; // text 1 var t2 = ''; // text 2 var t3 = ''; // text 3 var tc = ''; // text container var ti = ''; // text id var tm = ''; // time var tn = ''; // time now var to = ''; // text object var tp = ''; // text-pop-up parameters var tr = ''; // timer var tv = ''; // text value var ty = 0; // top y var u1 = ''; // user text var u2 = ''; // user text var u3 = ''; // user text var ue = ''; // user's email var ui = ''; // url id: var vf = ''; // video file var vh = 0; // viewport height var vi = ''; // volume id var vl = ''; // value var vo = ''; // volume object var vw = 0; // viewport width var wd = 0; // width var wf = ''; // wish form var wi = ''; // window id var wn = ''; // window name var wo = ''; // window object var wp = ''; // window-pop-up parameters var wt = 0; // wait time: var xc = 0; // x counter var xd = ''; // x direction var xi = ''; // x object id var xm = ''; // xml file var xn = ''; // x object name var xo = ''; // x object var xp = 0; // x position var xs = 0; // x step var xt = 0; // x time var ya = ''; // year array var yc = 0; // y counter var yd = ''; // y direction var yi = ''; // y object id var yn = ''; // y object name var yo = ''; // y object var yp = 0; // y position: var yr = ''; // year var ys = 0; // y step var yt = 0; // y time var zp = ''; // zoom-pop-up parameters var zt = 0; // zero time // shared blanks var bk = new Image(160,120); bk.src = 'http://www.designarcade.co.uk/blankx11.jpg'; // blank:default black // shared clickers var en = new Image( 24, 11); en.src = 'http://www.designarcade.co.uk/cken.jpg'; // clicker:end var oa = new Image( 24, 11); oa.src = 'http://www.designarcade.co.uk/ckoa.gif'; // clicker:over action // shared drifters var db = new Image( 56, 8); db.src = 'http://www.designarcade.co.uk/drbl.jpg'; // drifter:default blue var dg = new Image( 56, 8); dg.src = 'http://www.designarcade.co.uk/drgr.jpg'; // drifter:default grey // shared flags var ff17=new Image( 34, 22); ff17.src='http://www.designarcade.co.uk/flagfr17.jpg'; // snap:french flag var fi17=new Image( 34, 22); fi17.src='http://www.designarcade.co.uk/flagit17.jpg'; // snap:italian flag var fs17=new Image( 34, 22); fs17.src='http://www.designarcade.co.uk/flagsp17.jpg'; // snap:spanish flag var fw17=new Image( 34, 22); fw17.src='http://www.designarcade.co.uk/flagsw17.jpg'; // snap:swedish flag // shared link marker var lm = new Image( 6, 8); lm.src = 'http://www.designarcade.co.uk/lkmk.gif'; // link marker:default grey // shared pop-up marker var pm = new Image( 9, 9); pm.src = 'http://www.designarcade.co.uk/pumk.jpg'; // pop-up marker:default yellow // set navigator|nc:navigator code|ng:navigator|nn:navigator name|nu:navigator user agent var nc = ''; var ng = ''; var nn = navigator.appName; var nu = navigator.userAgent; // set screen|sh:screen height|sw:screen width var sh = window.screen.height; var sw = window.screen.width; // set kite space|kh:kite space horizontal|kv:kite space vertical var kh = 652; var kv = sh-320; // set client|ca:address|cc:call|cd:description|ce:email|cf:fax|cn:name|cs:shop|cu:url|cv:vat var ca = '14 West Street   Corfe Castle   Dorset   BH20 5HD   England'; var cc = '01929noskype 477noskype137'; var cd = 'Say Less About More'; var ce = 'mail@cherryheaven.co.uk'; var cf = '01929 477138'; var cn = 'Design Arcade'; var cs = 'shop@cherryheaven.co.uk'; var cu = 'designarcade.co.uk'; var cv = '20.0%'; // set shared|sa:address|sc:call|sd:description|se:email|sn:name|su:url|sv:vat var sa = '14 West Street   Corfe Castle   Dorset   BH20 5HD   England'; var sc = '01929 477137'; var sd = 'Say Less About More'; var se = 'mail@cherryheaven.co.uk'; var sn = 'Cherry Heaven'; var su = 'cherryheaven.co.uk'; var sv = '20.0%'; // set date|da:day array|dn:date now|dt:date|dy:day|ma:month array|mn:month|yr:year da = new Array( 7); ma = new Array(13); da[ 0] = 'sunday'; da[ 1] = 'monday'; da[ 2] = 'tuesday'; da[ 3] = 'wednesday'; da[ 4] = 'thursday'; da[ 5] = 'friday'; da[ 6] = 'saturday'; ma[ 0] = ''; ma[ 1] = 'january'; ma[ 2] = 'february'; ma[ 3] = 'march'; ma[ 4] = 'april'; ma[ 5] = 'may'; ma[ 6] = 'june'; ma[ 7] = 'july'; ma[ 8] = 'august'; ma[ 9] = 'september'; ma[10] = 'october'; ma[11] = 'november'; ma[12] = 'december'; nd = new Date(); dy = da[nd.getDay()]; dt = nd.getDate(); mh = ma[nd.getMonth()+1]; yr = nd.getFullYear(); dn = dy+' '+dt+' '+mh; // identify navigator|nc:navigator code|ng:navigator|nn:navigator name|nu:navigator user agent only le uses this? { if (nn.indexOf('Explorer') > -1 && nu.indexOf('MSIE 9') > -1 && nu.indexOf('MSN') < 0) {nc = 'e9'; ng = 'av'; nn = 'Internet Explorer 9';} else if (nn.indexOf('Explorer') > -1 && nu.indexOf('MSIE 8') > -1 && nu.indexOf('MSN') < 0) {nc = 'e8'; ng = 'av'; nn = 'Internet Explorer 8';} else if (nn.indexOf('Explorer') > -1 && nu.indexOf('MSIE 7') > -1 && nu.indexOf('MSN') < 0) {nc = 'e7'; ng = 'av'; nn = 'Internet Explorer 7';} else if (nn.indexOf('Explorer') > -1 && nu.indexOf('MSIE 6') > -1 && nu.indexOf('MSN') < 0) {nc = 'e6'; ng = 'av'; nn = 'Internet Explorer 6';} else if (nn.indexOf('Explorer') > -1 && nu.indexOf('MSIE 5') > -1) {nc = 'e5'; ng = 'no av'; nn = 'Internet Explorer 5';} else if (nn.indexOf('Explorer') > -1 && nu.indexOf('MSN 8') > -1) {nc = 'm8'; ng = 'av'; nn = 'Internet Explorer 6, included with MSN 8';} else if (nn.indexOf('Explorer') > -1 && nu.indexOf('MSN 6.1') > -1) {nc = 'm7'; ng = 'av'; nn = 'Internet Explorer 6, included with MSN 7';} else if (nn.indexOf('Explorer') > -1 && nu.indexOf('MSN 6') > -1) {nc = 'm6'; ng = 'av'; nn = 'Internet Explorer 6, included with MSN 6';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Netscape/8') > -1) {nc = 'n8'; ng = 'no av'; nn = 'Netscape 8';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Firefox/0') > -1) {nc = 'n8'; ng = 'no av'; nn = 'Netscape 8';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Netscape/7.1') > -1) {nc = 'n7'; ng = 'av'; nn = 'Netscape 7.1';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Netscape/7') > -1) {nc = 'n7'; ng = 'no av'; nn = 'Netscape 7.0';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Netscape6') > -1) {nc = 'n6'; ng = 'no av'; nn = 'Netscape 6';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Mozilla/4') > -1 && document.layers) {nc = 'n4'; ng = 'no js'; nn = 'Netscape 4';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Mozilla/5') > -1 && nu.indexOf('Firefox/7') > -1) {nc = 'f7'; ng = 'no av'; nn = 'Firefox 7';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Mozilla/5') > -1 && nu.indexOf('Firefox/6') > -1) {nc = 'f6'; ng = 'no av'; nn = 'Firefox 6';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Mozilla/5') > -1 && nu.indexOf('Firefox/5') > -1) {nc = 'f5'; ng = 'no av'; nn = 'Firefox 5';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Mozilla/5') > -1 && nu.indexOf('Firefox/4') > -1) {nc = 'f4'; ng = 'no av'; nn = 'Firefox 4';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Mozilla/5') > -1 && nu.indexOf('Firefox/3') > -1) {nc = 'f3'; ng = 'no av'; nn = 'Firefox 3';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Mozilla/5') > -1 && nu.indexOf('Firefox/2') > -1) {nc = 'f2'; ng = 'no av'; nn = 'Firefox 2';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Mozilla/5') > -1 && nu.indexOf('Firefox/1') > -1) {nc = 'f1'; ng = 'no av'; nn = 'Firefox 1';} else if (nn.indexOf('Netscape') > -1 && nu.indexOf('Mozilla/5') > -1 && nu.indexOf('Chrome/0') > -1) {nc = 'c1'; ng = 'no av'; nn = 'Google Chrome';} else if (nu.indexOf('Opera/10') > -1 && window.opera) {nc = 'oA'; ng = 'no av'; nn = 'Opera 9';} else if (nu.indexOf('Opera/9') > -1 && window.opera) {nc = 'o9'; ng = 'no av'; nn = 'Opera 9';} else if (nu.indexOf('Opera/8') > -1 && window.opera) {nc = 'o8'; ng = 'no av'; nn = 'Opera 8';} else if (nu.indexOf('Opera/7') > -1 && window.opera) {nc = 'o7'; ng = 'no av'; nn = 'Opera 7';} else if (nn.indexOf('WebTV') > -1 && nu.indexOf('WebTV') > -1) {nc = 'mt'; ng = 'no av'; nn = 'MSN TV';} else {nc = 'no'; ng = 'no js'; nn = 'unknown, so it will not work';} } // pop-up param|lp:landscape param|nc:navigator code|pp:portrait param|tp:text param|wp:window param only le uses this? { if (nc == 'e6' || nc == 'e7' || nc == 'e8' || nc == 'e9') { gp = "width=372,height=265,left="+(sw-382)+",top=0"; lp = "width=372,height=265,left="+(sw-382)+",top=0"; pp = "width=372,height=265,left="+(sw-382)+",top=0"; tp = "width=372,height=181,left="+(sw-382)+",top=0"; wp = "width=800,height="+(sh-256)+", left=0,top=0"; } else if (nc == 'e5') { gp = "width=372,height=265,left="+(sw-382)+",top=0"; lp = "width=372,height=265,left="+(sw-382)+",top=0"; pp = "width=372,height=265,left="+(sw-382)+",top=0"; tp = "width=372,height=181,left="+(sw-382)+",top=0"; wp = "width=800,height="+(sh-256)+", left=0,top=0"; } else if (nc == 'm6' || nc == 'm7' || nc == 'm8') { gp = "width=372,height=265,left="+(sw-384)+",top=0"; lp = "width=372,height=265,left="+(sw-384)+",top=0"; pp = "width=372,height=265,left="+(sw-384)+",top=0"; tp = "width=372,height=181,left="+(sw-384)+",top=0"; wp = "width=800,height="+(sh-256)+", left=0,top=0"; } else if (nc == 'n8') { gp = "width=376,height=265,left="+(sw-379)+",top=0"; lp = "width=376,height=265,left="+(sw-379)+",top=0"; pp = "width=376,height=265,left="+(sw-379)+",top=0"; tp = "width=376,height=181,left="+(sw-379)+",top=0"; wp = "width=800,height="+(sh-256)+", left=0,top=0"; } else if (nc == 'n7') { gp = "width=376,height=265,left="+(sw-382)+",top=0"; lp = "width=376,height=265,left="+(sw-382)+",top=0"; pp = "width=376,height=265,left="+(sw-382)+",top=0"; tp = "width=386,height=181,left="+(sw-382)+",top=0"; wp = "width=800,height="+(sh-256)+", left=0,top=0"; } else if (nc == 'n6') { gp = "width=376,height=265,left="+(sw-382)+",top=0"; lp = "width=376,height=265,left="+(sw-382)+",top=0"; pp = "width=376,height=265,left="+(sw-382)+",top=0"; tp = "width=376,height=181,left="+(sw-382)+",top=0"; wp = "width=800,height="+(sh-256)+", left=0,top=0"; } else if (nc == 'z1') { gp = "width=376,height=265,left="+(sw-381)+",top=0"; lp = "width=376,height=265,left="+(sw-381)+",top=0"; pp = "width=376,height=265,left="+(sw-381)+",top=0"; tp = "width=376,height=181,left="+(sw-381)+",top=0"; wp = "width=800,height="+(sh-256)+", left=0,top=0"; } else if (nc == 'f1' || nc == 'f2' || nc == 'f3' || nc == 'f4') { gp = "width=376,height=265,left="+(sw-381)+",top=0"; lp = "width=376,height=265,left="+(sw-381)+",top=0"; pp = "width=376,height=265,left="+(sw-381)+",top=0"; tp = "width=376,height=181,left="+(sw-381)+",top=0"; wp = "width=800,height="+(sh-256)+", left=0,top=0"; } else if (nc == 'o7' || nc == 'o8') { gp = "width=376,height=265,left="+(sw-389)+",top=0"; lp = "width=376,height=291,left="+(sw-389)+",top=0"; pp = "width=376,height=265,left="+(sw-389)+",top=0"; tp = "width=376,height=181,left="+(sw-389)+",top=0"; wp = "width=800,height="+(sh-256)+", left=0,top=0"; } else { gp = "width=372,height=265,left="+(sw-382)+",top=0"; lp = "width=372,height=265,left="+(sw-382)+",top=0"; pp = "width=372,height=265,left="+(sw-382)+",top=0"; tp = "width=372,height=181,left="+(sw-382)+",top=0"; wp = "width=800,height="+(sh-256)+", left=0,top=0"; } wp = wp+",menubar=1,toolbar=1,scrollbars=1,status=1"; } // set y position for shared item and ch tv colours|bg:background colour|fg:foreground colour|hv:hover colour|pl:passive link colour|ru:referrer url|yp:y position // ch is in the local directory, not the shared ru = location.href; if (ru.indexOf("accentgold.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = 'FF4500'; hv = 'FFFF00'; pl = '333333'; yp = 136;} if (ru.indexOf("artclay.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = '808080'; hv = 'FFCC00'; pl = '333333'; yp = 124;} if (ru.indexOf("artclayclub.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = 'FF4500'; hv = 'FFCC00'; pl = '333333'; yp = 95;} if (ru.indexOf("artclaytools.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = 'FF4500'; hv = 'FFCC00'; pl = '333333'; yp = 116;} if (ru.indexOf("artclayworld.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = 'FF4500'; hv = 'FFCC00'; pl = '333333'; yp = 99;} if (ru.indexOf("babykiln.co.uk") > 0) {bg = '333333'; ch ='chhvtv13.jpg'; fg = 'FF4500'; hv = 'FFCC00'; pl = '333333'; yp = 247;} if (ru.indexOf("busybabies.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = '6495ED'; hv = 'FFFFC8'; pl = '333333'; yp = 131;} if (ru.indexOf("cherryheaven.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = 'FF4500'; hv = 'FFCC00'; pl = '333333'; yp = 157;} if (ru.indexOf("electrickilns.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = '808080'; hv = 'FFFF00'; pl = '333333'; yp = 131;} if (ru.indexOf("electrictumblers.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = '808080'; hv = 'FFFF00'; pl = '333333'; yp = 119;} if (ru.indexOf("glassclay.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = '6495ED'; hv = 'FFFFC8'; pl = '333333'; yp = 212;} if (ru.indexOf("kitiki.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = 'FF4500'; hv = 'FFCC00'; pl = '333333'; yp = 169;} if (ru.indexOf("magicfuse.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = 'FF4500'; hv = 'FFCC00'; pl = '333333'; yp = 228;} if (ru.indexOf("minikiln.co.uk") > 0) {bg = '333333'; ch ='chhvtv13.jpg'; fg = '808080'; hv = 'FFFF00'; pl = '333333'; yp = 113;} if (ru.indexOf("oxfordenglish.net") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = '808080'; hv = 'FFFF00'; pl = '333333'; yp = 100;} if (ru.indexOf("paragonkilns.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = '808080'; hv = 'FFFF00'; pl = '333333'; yp = 100;} if (ru.indexOf("prettyclothes.co.uk") > 0) {bg = '000000'; ch ='chhvtv23.jpg'; fg = '6495ED'; hv = 'FFFFC8'; pl = '333333'; yp = 156;} if (ru.indexOf("prometheuskilns.co.uk") > 0) {bg = '585858'; ch ='chhvtv13.jpg'; fg = '808080'; hv = 'FFFF00'; pl = '808080'; yp = 129;} // click url to add as favourite|cd:client description|cn:client name|nc:navigator code|cu:client url function AddFave() { if (nn.indexOf('Explorer') > -1) {window.external.AddFavorite('http://www.'+cu, cn+' - '+cd);} else {;} } // av locator|ad:av duration|al:av locator|as:av state|at:av timer|co:clicker object|ng:navigator|po:player object only le uses this? function AVLocator() { if (ng == 'av') { as = po.playState; ad = Math.floor(po.currentMedia.duration); if (ad < 10) {ad = '0'+ad;} al = Math.floor(po.controls.currentPosition); if (al < 10) {al = '0'+al;} window.status = 'AV Playing: '+al+':'+ad+' seconds.'; if (as == 9 || as == 3) {at = setTimeout('AVLocator()', 195);} else {co.setAttribute('src', pl.src); window.status=' '; clearTimeout(at);} } else {;} } // mouse away|as:av state|co:clicker object|ng:navigator|po:player object only le uses this? function AVOff() { if (ng == 'av') { as = po.playState; if (as == 3 || as == 9) {co.setAttribute('src', st.src);} else {co.setAttribute('src', pl.src); window.status = ' ';} } else {co.setAttribute('src', ua.src); window.status = s2;} } // mouse over av|as:av state|ci:clicker id|co:clicker object|ng:navigator|nn:navigator name|pi:player id|po:player object only le uses this? function AVOn(pi, ci) { co = document.getElementById(ci); if (ng == 'av') { po = document.getElementById(pi); as = po.playState; co.setAttribute('src', ht.src); if (as == 3 || as == 9) {window.status = sB;} if (as != 3 && as != 9) {window.status = sA;} } else {co.setAttribute('src', ut.src); window.status = nn+' does not support Media Player.';} } // click to switch|ai:av id|as:av state|co:clicker object|ng:navigator|po:player object only le uses this? function AVSwitch(ai) { if (ng == 'av') { if ('mdpl') {xx = document.getElementById('mdpl'); yy = xx.playState if (yy == 3 || yy == 9) {xx.controls.stop();} } as = po.playState; if (as == 3 || as == 9) {po.controls.stop(); co.setAttribute('src', st.src);} if (as != 3 && as != 9) {po.url = ai; co.setAttribute('src', pl.src);} //as = po.playState; } else {;} } // jw player background audio|af:audio file|fc:foreground colour function BGaudio(af, fc) { document.write('
'); } // check sale form|mf:mail form|sp:send personal form function CheckMailForm() { mf = document.getElementById('mxxx'); sp = ''; if (mf.names.value.length == 0) {alert('Your name is necessary. '); sp=''; return false;} if (mf.email.value.length == 0) {alert('Your email is necessary. '); sp=''; return false;} if (mf.notes.value.length == 0) {alert('Your message box is empty. '); sp=''; return false;} if (sp == '') {HideDiv('send'); mf.submit();} } // check wish form|wf:wish form|sw:send wish form function CheckWishForm() { wf = document.getElementById('wish'); sw = ''; if (wf.name1.value.length == 0) {alert('Your first name is necessary. '); sw=''; return false;} if (wf.name2.value.length == 0) {alert('Your last name is necessary. '); sw=''; return false;} if (wf.email.value.length == 0) {alert('Your email is necessary. '); sw=''; return false;} if (sw == '') {HideDiv('senx'); wf.submit();} } // check sale form|pf:pay form|sp:send pay form function CheckSaleForm() { pf = document.getElementById('sale'); sp = ''; if (pf.name1.value.length == 0) {alert('Your first name is necessary. '); sp=''; return false;} if (pf.name2.value.length == 0) {alert('Your last name is necessary. '); sp=''; return false;} if (pf.addr1.value.length == 0) {alert('Your address is necessary. '); sp=''; return false;} if (pf.metro.value.length == 0) {alert('Your city is necessary. '); sp=''; return false;} if (pf.acode.value.length == 0) {alert('Your area code is necessary. '); sp=''; return false;} if (pf.inter.value.length == 0) {alert('Your country is necessary. '); sp=''; return false;} if (pf.email.value.length == 0) {alert('Your email is necessary. '); sp=''; return false;} if (ct == '') {alert('The card type is necessary. '); sp=''; return false;} if (pf.cache.value.length == 0) {alert('The card number is necessary. '); sp=''; return false;} if (pf.owner.value.length == 0) {alert('Your name, as it is on the card, is necessary. '); sp=''; return false;} if (pf.date2.value.length == 0) {alert('The card expiry date is necessary. '); sp=''; return false;} if (pf.check.value.length == 0) {alert('The card security number is necessary. '); sp=''; return false;} if (sp == '') {HideDiv('senx'); pf.submit();} } // check wish form|wf:wish form|sw:send wish form function CheckWishForm() { wf = document.getElementById('wish'); sw = ''; if (wf.name1.value.length == 0) {alert('Your first name is necessary. '); sw=''; return false;} if (wf.name2.value.length == 0) {alert('Your last name is necessary. '); sw=''; return false;} if (wf.email.value.length == 0) {alert('Your email is necessary. '); sw=''; return false;} if (sw == '') {HideDiv('senx'); wf.submit();} } // mouse over clicker|ci:clicker id|co:clicker object|os:old source function ClickerOn(ci) { co = document.getElementById(ci); co.setAttribute('src', oa.src); window.status = 'Click, to continue.'; } function ClickerOff(os) { co.setAttribute('src', os); window.status = s2; } // cursor crosshair|si:span id function CursorCross(si) { document.getElementById(si).style.cursor = 'crosshair'; window.status = s2; } // cursor pointer|si:span id function CursorPoint(si) { document.getElementById(si).style.cursor = 'pointer'; window.status = s7; } // cursor xy position|mx:mouse x|my:mouse y|nc:navigator code|ox:old x|oy:old y function CursorXY() { window.status = s0; } // mouse over favourite link to swap colour|nn:navigator name|ui:url id function FaveOn(ui) { if (nn.indexOf('Explorer') > -1) {document.getElementById(ui).style.color = '#FFFF00'; window.status = s4;} else {;} } function FaveOff(ui) { if (nn.indexOf('Explorer') > -1) {document.getElementById(ui).style.color = '#808080'; window.status = s2;} else {;} } // mouse over field to swap background colour|fi:field id function FieldOn(fi) { document.getElementById(fi).style.background = '#484848'; } function FieldOff(fi) { document.getElementById(fi).style.background = '#000000'; } // flash av off|nn:navigator name|ai:av id function FlashOff() { if (nn.indexOf('Explorer') > -1) {ai = document.getElementById('flpl');} else {ai = document.embeds['flpl'];} ai.StopPlay(); } // flash av on|nn:navigator name|ai:av id function FlashOn() { if (nn.indexOf('Explorer') > -1) {ai = document.getElementById('flpl');} else {ai = document.embeds['flpl'];} ai.Play(); } // flash av pause|nn:navigator name|ai:av id function FlashPause() { if (nn.indexOf('Explorer') > -1) {ai = document.getElementById('flpl');} else {ai = document.embeds['flpl'];} if (ai.IsPlaying()) {ai.StopPlay();} else {ai.Play();} } // float horizontally|ft:float timer|nx:new x|xo:x object|xt:x time function FloatX(xt) { xo = document.getElementById('xobj'); xo.style.visibility = 'visible'; nx = parseInt(xo.style.left); nx=nx+1; xo.style.left = nx+'px'; if (nx < 773) {ft = setTimeout('FloatX(xt)', xt);} if (nx > 772) {clearTimeout(ft); nx = 0; xo.style.visibility = 'hidden';} } // show fulltime|hs:hours|ms:minutes|nd:new date|so:show object|ss:seconds function FullTime() { so = document.getElementById('fltm'); nd = new Date(); hs = nd.getHours(); if (hs < 10) {hs = '0'+hs;} ms = nd.getMinutes(); if (ms < 10) {ms = '0'+ms;} ss = nd.getSeconds(); if (ss < 10) {ss = '0'+ss;} so.innerHTML = hs+':'+ms+':'+ss; setTimeout('FullTime()', 200); } // click link to page|pg:page link function GoTo(pg) { document.location.href = pg; window.status = ' '; } // click link to gate page|ms:minutes|nd:new date|pg:page link|ss:seconds ok function GoToGate(pg) { if (pg.indexOf("shop") > -1) { nd = new Date(); ms = nd.getMinutes(); if (ms < 10) {ms = '0'+ms;} ss = nd.getSeconds(); if (ss < 10) {ss = '0'+ss;} pg = pg+'?https://cherryheavensafeshopping.portal.ID'+ms+ss; document.location.href = pg; window.status = ' '; } else {document.location.href = pg; window.status = ' ';} } // hear audio clip|ai:audio clip id|ng:navigator function Hear(ai) { if (ng == 'av') {document.getElementById(ai).play();} else {;} } // hide div|di:div id function HideDiv(di) { document.getElementById(di).style.visibility = 'hidden'; } // hide index photos and menus cover|tr:timer ok function HideIPC() { tr = setTimeout('document.getElementById("ipc").style.visibility = "hidden"', 1200); } // hide mute|si:span id function HideMute(si) { document.getElementById(si).style.visibility = 'hidden'; } // hide starter photos cover|tr:timer ok function HideSPC() { tr = setTimeout('document.getElementById("spc").style.visibility = "hidden"', 1200); } // internet explorer cursor xy position|mx:mouse x|my:mouse y|nn:navigator name|ox:old x|oy:old y ok function IECursorXY(event) { if (nn.indexOf('Explorer') > -1) { if (window.event.ctrlKey) { mx = window.event.clientX; my = window.event.clientY; window.status = 'Current x = '+mx+'px Current y = '+my+'px Change in x = '+(mx-ox)+'px Change in y = '+(my-oy)+'px '+s0; ox = mx; oy = my; } else {window.status = s2;} } else {;} } // kites|kc:kite counter|kd:kite duration|kl:kite loop|kp:kite position|ks:kites|kt:kite timer|kw:kite wind re-position function Kites(ks, kw, kd) { for (kc = 1; kc < ks+1; kc = kc+1) { ki = document.getElementById('ko'+kc); ki.style.visibility = 'hidden'; ki.style.left = kh*Math.cos(kp+kc*9)*Math.cos(kp+kc*12); ki.style.top = kv*Math.cos(kp+kc*6)*Math.sin(kp+kc*24); ki.style.visibility = 'visible'; } if (kl < kd) {kp = kp + kw; kl = kl+1; kt = setTimeout('Kites('+ks+', '+kw+', '+kd+')', 20);} else { for (kc = 1; kc < ks+1; kc = kc+1) {document.getElementById('ko'+kc).style.visibility = 'hidden';} clearTimeout(kt); } } // link blink to blink and swap colour|bc:blink counter|bt:blink timer|li:link id function LinkBlink(li) { bc = bc + 1; window.status = s7; if (bc == 1 || bc == 15 || bc == 29 || bc == 43 || bc == 57) {document.getElementById(li).style.color = '#808080';} if (bc == 8 || bc == 22 || bc == 36 || bc == 50 || bc == 64) {document.getElementById(li).style.color = '#FFFF00';} if (bc < 92) {bt = setTimeout('LinkBlink("'+li+'")', 16);} if (bc == 92) {clearTimeout(bt); bc = 0; window.status = s2;} } // mouse over page link to swap colour|li:link id ok function LinkOn(li) { document.getElementById(li).style.color = '#FFFF00'; window.status = s6; } function LinkOff(li) { clearTimeout(bt); bc = 0; document.getElementById(li).style.color = '#808080'; window.status = s2; } // mouse over url link to swap colour|ui:url id ok function LookOn(ui) { document.getElementById(ui).style.color = '#FFFF00'; window.status = s8; } function LookOff(ui) { document.getElementById(ui).style.color = '#808080'; window.status = s2; } // mouse over mail link to swap colour|ei:email link id ok function MailOn(ei) { document.getElementById(ei).style.color = '#FFFF00'; window.status = s5; } function MailOff(ei) { document.getElementById(ei).style.color = '#808080'; window.status = s2; } // click to email client|ce:client email|es:email subject function MailClient(es) { document.location = 'http://www.cherryheaven.co.uk/mail.htm'; } // click to email client|ce:client email|es:email subject ? function MailXClient(es) { window.status = ' '; document.location = 'mailto:'+ce+'?subject='+es; window.status = ' '; } // click to email shared|se:shared email|es:email subject function MailShared(es) { window.status = ' '; document.location = 'mailto:'+se+'?subject='+es; window.status = ' '; } // mouse over manual page link to swap colour|li:link id function ManualLinkOn(li) { document.getElementById(li).style.color = '#FFFFC8'; window.status = s6; } function ManualLinkOff(li) { document.getElementById(li).style.color = '#6495ED'; window.status = s2; } // menu blink|bc:blink counter|bt:blink timer function MenuBlink() { bc = bc + 1; if (bc == 1 || bc == 15 || bc == 29 || bc == 43) { document.getElementById('menl').style.visibility = 'visible'; document.getElementById('menr').style.visibility = 'visible'; } if (bc == 8 || bc == 22 || bc == 36) { document.getElementById('menl').style.visibility = 'hidden'; document.getElementById('menr').style.visibility = 'hidden'; } if (bc < 58) {bt = setTimeout('MenuBlink()', 1);} else { document.getElementById('menl').style.visibility = 'visible'; document.getElementById('menr').style.visibility = 'visible'; clearTimeout(bt); bc = 0; } } // mute audio clip|ai:audio clip id|ng:navigator|po:player object|ps:play state function Mute(ai) { if (ng == 'av') { po = document.getElementById('mdpl'); ps = po.playState; if (ps == 3 || ps == 9) {po.controls.stop();} } else {;} } // mozilla cursor xy position|ev:event|mx:mouse x|my:mouse y|ox:old x|oy:old y ok function MZCursorXY(ev) { if (nu.indexOf('Firefox') > -1) { if (ev.ctrlKey) { mx = ev.clientX; my = ev.clientY; window.status = 'Current x = '+mx+'px Current y = '+my+'px Change in x = '+(mx-ox)+'px Change in y = '+(my-oy)+'px '+s0; ox = mx; oy = my; } else {window.status = s2;} } else {;} } // new window pop-up|du:destination url|wn:name|wp:pop-up parameters ? function OpenWnPopUp(du) { var newleft = document.documentElement.clientWidth-sw; var newtop = document.documentElement.clientHeight; wp = "width=800,height="+(sh-256)+",left=(newleft-1),top=newtop,menubar=1,toolbar=0,location=1,scrollbars=1,status=1"; wn = window.open(du, 'wn', wp); window.status=' '; } function CloseWnPopUp() { wn.close(); window.status=' '; } // mouse over text to swap remote page link colour|li:link id function PageOn(li) { document.getElementById(li).style.color = '#FFFF00'; window.status = s7; } function PageOff(li) { clearTimeout(bt); bc = 0; document.getElementById(li).style.color = '#808080'; window.status = s2; } // password|pw:password only le uses this? function Password(pw) { pc = ''; nd = new Date(); ms = nd.getMinutes(); if (ms < 10) {ms = '0'+ms;} ss = nd.getSeconds(); if (ss < 10) {ss = '0'+ss;} pw = pw.substring(0,8); if (pw == "zzzzzzzz") {document.location.href = "query.htm"+"?https://learningenglish.portal:UserID"+ms+ss;} // internal else if (pw == "4MTR2CLE") {document.location.href = "query.htm"+"?https://learningenglish.portal:Meteor";} // 22072002-22072003 else if (pw == "4TMC2CLE") {document.location.href = "query.htm"+"https://learningenglish.portal:Temic";} // 01092002-31122003 else if (pw == "UR142N8C") {document.location.href = "query.htm"+"?https://learningenglish.portal:UserID"+ms+ss;} // normal else {document.location.href = "reject.htm";} } // photo book showing jpgs|ap:auto-play|bg:background colour|ht:height|rp:repeat|t1:text 1|t2:text 2|wd:width|xm:xml playlist file ok function PhotoBook(wd, ht, bg, xm, ap, rp) { var t1 = ''; document.write(t1+t2); } // reveal horizontally|nx:new x|ra:reveal array|ro:reveal object|rt:reveal timer|wt:wait time function RevealX() { nx = parseInt(ro.style.left); if (nx == 12) {document.getElementById('ra01').style.visibility = 'visible';} if (nx == 76) {document.getElementById('ra02').style.visibility = 'visible';} if (nx == 140) {document.getElementById('ra03').style.visibility = 'visible';} if (nx == 204) {document.getElementById('ra04').style.visibility = 'visible';} if (nx == 268) {document.getElementById('ra05').style.visibility = 'visible';} if (nx == 332) {document.getElementById('ra06').style.visibility = 'visible';} if (nx == 396) {document.getElementById('ra07').style.visibility = 'visible';} if (nx == 460) {document.getElementById('ra08').style.visibility = 'visible';} if (nx == 524) {document.getElementById('ra09').style.visibility = 'visible';} if (nx == 588) {document.getElementById('ra10').style.visibility = 'visible';} if (nx == 652) {document.getElementById('ra11').style.visibility = 'visible';} if (nx == 716) {document.getElementById('ra12').style.visibility = 'visible';} if (nx < 716) {nx = nx+1; ro.style.left = nx+'px'; rt = setTimeout('RevealX()', 12);} else {wt = 1200; rt = setTimeout('StopRevealX()', wt);} } // mouseover say it|ai:audio id|t1:text 1|t2:text 2|t3:text 3|t4:text 4|t5:text 5|t6:text 6 function SayIt(ai) { so = document.getElementById('flpl'); var t1 = ''; var t2 = ''; var t3 = ''; var t4 = ''; var t5 = ''; var t6 = ''; so.innerHTML = t1+t2+t3+t4+t5+t6; } // mouseover say word|nn:navigator name|pi:player id not used as SayIt works better function SayWord(word) { if (nn.indexOf('Explorer') > -1) {pi = document.getElementById(word);} else {pi = document.embeds[word];} pi.Play(); } // prepare shop data|fa:form action|fd:form data|pf:pay form|to:text object ? function ShopData() { pf = document.getElementById('sale'); fd = 'My Choice: '+pf.shls.value+' ::: Send To: '+pf.mfnx.value+' '+pf.mlnx.value+', '+pf.mcnx.value+', '+pf.tflx.value+', '+pf.tslx.value+', '+pf.tctx.value+', '+pf.tacx.value+', '+pf.tcnx.value+' ::: Phone: '+pf.ttlx.value+' ::: Email: '+pf.temx.value+' ::: VAT Number: '+pf.tcvx.value+' ::: Card: '+ct+' '+pf.tdox.value+' ::: Card Owner: '+pf.tnox.value+' ::: Start Date: '+pf.valx.value+' ::: Expiry Date: '+pf.expx.value+' ::: Issue Number: '+pf.issx.value+' ::: Security: '+pf.secx.value; fa = '
'; to = document.getElementById('fmac'); to.innerHTML = fa; } // show 0x0 video audio|ff:flash file|t1:text 1|t2:text 2|t3:text 3 deprecate? function Show0x0Video(ff) { var t1 = ''; document.write(t1+t2+t3); } // show 160x120 small flv|cc:control colour|ff:flash file|hc:hover colour|t1:text 1|t2:text 2|t3:text 3 ? function Show160x120FLV(ff, cc, hc) { document.write('
'); var t1 = ''; document.write(t1+t2+t3); document.write('
'); } // show 160x120 small jpg slideshow|t1:text 1|t2:text 2|xm:xml playlist file function Show160x120jpg(xm) { var t1 = ''; document.write(t1+t2); } // show 160x120 small jpg slideshow and repeat|t1:text 1|t2:text 2|xm:xml playlist file function Show160x120jpgRepeat(xm) { var t1 = ''; document.write(t1+t2); } // show 160x120 small video|ff:flash file|t1:text 1|t2:text 2|t3:text 3 function Show160x120Video(ff) { document.write('
'); var t1 = ''; document.write(t1+t2+t3); document.write('
'); } // show 320x240 flash video|bg:background colour|ff:flash file|fg:foreground colour|hv:hover colour|t1:text 1|t2:text 2|t3:text 3|tv:ch tv logo function Show320x240FV(bg, ff, fg, hv, ch) { document.write('
'); var t1 = ''; document.write(t1+t2+t3); document.write('
'); } // show 320x240 medium flv|cc:control colour|ff:flash file|hc:hover colour|t1:text 1|t2:text 2|t3:text 3 deprecate function Show320x240flv(ff, cc, hc) { document.write('
'); var t1 = ''; document.write(t1+t2+t3); document.write('
'); } // jw player medium video|jb:button colour|jc:control bar colour|jh:hover colour|ji:start-up image|jp:player colour|vf:video file function Show320x240(jb, jc, jh, ji, jp, vf) { var t1 = '
'; document.write(t1+t2+t3); } // show 320x240 medium video|ff:flash file|t1:text 1|t2:text 2|t3:text 3 deprecate function Show320x240Video(ff) { document.write('
'); var t1 = ''; document.write('
'); } // show div|di:div id function ShowDiv(di) { document.getElementById(di).style.visibility = 'visible'; } // show mute|si:span id function ShowMute(si) { document.write("music-off"); } // show pop-up item photo|di:div id|yp:y position ok function ShowPIP(di) { if (sw > 1279) { document.getElementById(di).style.left = (document.documentElement.clientWidth-485)+'px'; document.getElementById(di).style.top = (document.documentElement.scrollTop+1 || document.body.scrollTop+1)+'px'; document.getElementById(di).style.visibility = 'visible'; window.status = s8; } else {;} } // hide pop-up item photo|di:div id ok function HidePIP(di) { document.getElementById(di).style.visibility = 'hidden'; document.getElementById(di).style.left = '-600px'; document.getElementById(di).style.top = '0px'; window.status = s2; } // show pop-up photo div|d1:div 1 delete? function ShowPupDiv(d1) { document.getElementById(d1).style.left = (document.documentElement.clientWidth-488)+'px'; document.getElementById(d1).style.top = (document.documentElement.scrollTop || document.body.scrollTop)+'px'; document.getElementById(d1).style.visibility = 'visible'; } // show pop-up menu help|dv:div id function ShowPMH(di) { if (sw > 1279) { document.getElementById(di).style.left = (document.documentElement.clientWidth-379)+'px'; document.getElementById(di).style.top = (document.documentElement.scrollTop+1 || document.body.scrollTop+1)+'px'; document.getElementById(di).style.visibility = 'visible'; window.status = s8; } else {;} } // hide pop-up menu help|di:div id function HidePMH(di) { document.getElementById(di).style.visibility = 'hidden'; document.getElementById(di).style.left = '-600px'; document.getElementById(di).style.top = '0px'; window.status = s2; } // show pop-up site help|di:div id function ShowPSH(di) { if (sw > 1279) { document.getElementById(di).style.left = (document.documentElement.clientWidth-379)+'px'; document.getElementById(di).style.top = (document.documentElement.scrollTop+1 || document.body.scrollTop+1)+'px'; document.getElementById(di).style.visibility = 'visible'; window.status = s8; } else {;} } // hide pop-up site help|di:div id function HidePSH(di) { document.getElementById(di).style.visibility = 'hidden'; document.getElementById(di).style.left = '-600px'; document.getElementById(di).style.top = '0px'; window.status = s2; } // show pop-up help|di:div id ok function ShowPUH(di) { if (sw > 1279) { document.getElementById(di).style.left = (document.documentElement.clientWidth-379)+'px'; document.getElementById(di).style.top = (document.documentElement.scrollTop+1 || document.body.scrollTop+1)+'px'; document.getElementById(di).style.visibility = 'visible'; window.status = sE; } else {;} } // hide pop-up help|di:div id function HidePUH(di) { document.getElementById(di).style.visibility = 'hidden'; document.getElementById(di).style.left = '-600px'; document.getElementById(di).style.top = '0px'; window.status = s2; } // show pop-up menu|dv:div id function ShowPUM(di) { document.getElementById(di).style.left = 11+'px'; document.getElementById(di).style.top = (yp)+'px'; document.getElementById(di).style.visibility = 'visible'; window.status = s8; } // show pop-up photo|di:div id ok function ShowPUP(di) { if (sw > 1279) { document.getElementById(di).style.left = (document.documentElement.clientWidth-485)+'px'; document.getElementById(di).style.top = (document.documentElement.scrollTop+1 || document.body.scrollTop+1)+'px'; document.getElementById(di).style.visibility = 'visible'; window.status = sE; } else {;} } // hide pop-up photo|di:div id ok function HidePUP(di) { document.getElementById(di).style.visibility = 'hidden'; document.getElementById(di).style.left = '-600px'; document.getElementById(di).style.top = '0px'; window.status = s2; } // show pop-up returns|di:div id function ShowPUR(di) { document.getElementById(di).style.left = (document.documentElement.clientWidth-379)+'px'; document.getElementById(di).style.top = (document.documentElement.scrollTop+1 || document.body.scrollTop+1)+'px'; document.getElementById(di).style.visibility = 'visible'; window.status = s2; } // hide pop-up returns|di:div id function HidePUR(di) { document.getElementById(di).style.visibility = 'hidden'; document.getElementById(di).style.left = '-600px'; document.getElementById(di).style.top = '0px'; window.status = s2; } // show shared item|di:div id|yp:y position function ShowSHI(di) { document.getElementById(di).style.visibility = 'visible'; document.getElementById(di).style.left = 11+'px'; document.getElementById(di).style.top = (document.documentElement.scrollTop+yp+33 || document.body.scrollTop+yp+33)+'px'; } // show time|hs:hours|ms:minutes|nd:new date|so:showtime object|ss:seconds function ShowTime() { so = document.getElementById('shtm'); nd = new Date(); hs = nd.getHours(); if (hs < 10) {hs = '0'+hs;} ms = nd.getMinutes(); if (ms < 10) {ms = '0'+ms;} ss = nd.getSeconds(); if (ss < 10) {ss = '0'+ss;} so.innerHTML = hs+':'+ms+':'+ss; setTimeout('ShowTime()', 200); } // site blink to blink and swap colour|bc:blink counter|bt:blink timer|si:site id function SiteBlink(si) { bc = bc + 1; window.status = s9; if (bc == 1 || bc == 15 || bc == 29 || bc == 43 || bc == 57) {document.getElementById(si).style.color = '#808080';} if (bc == 8 || bc == 22 || bc == 36 || bc == 50 || bc == 64) {document.getElementById(si).style.color = '#FFFF00';} if (bc < 92) {bt = setTimeout('SiteBlink("'+si+'")', 16);} if (bc == 92) {clearTimeout(bt); bc = 0; window.status = s2;} } // mouse over text to swap remote url link colour|ui:url id function SiteOn(ui) { document.getElementById(ui).style.color = '#FFFF00'; window.status = s9; } function SiteOff(ui) { clearTimeout(bt); bc = 0; document.getElementById(ui).style.color = '#808080'; window.status = s2; } // auto-start reveal horizontally|ri:reveal object id|ro:reveal object|rt:reveal timer|wt:wait time function StartRevealX(ri, wt) { ro = document.getElementById(ri); rt = setTimeout('RevealX()', wt); } // stop flash clip|ai:audio clip id|ng:navigator|po:player object|ps:play state function StopFlash() { //var ai = document.getElementById('opera1.swf'); ai.StopPlay(); } // auto-stop reveal horizontally|ro:reveal object|rt:reveal timer function StopRevealX() { ro.style.visibility = 'hidden'; clearTimeout(rt); } // click to swap player controls|ps:play state text|tc:text container function SwapPCS() { if (ps == 'playing') {tc = document.getElementById('paus'); tc.innerHTML = 'play'; ps = 'paused'; } else if (ps == 'paused') {tc = document.getElementById('paus'); tc.innerHTML = 'pause'; ps = 'playing';} } // mouse over text to swap remote text colour|ti:text id function TextOn(ti) { document.getElementById(ti).style.color = '#FFFF00'; } function TextOff(ti) { clearTimeout(bt); bc = 0; document.getElementById(ti).style.color = '#808080'; } // show trimtime|hs:hours|ms:minutes|nd:new date|so:show object function TrimTime() { so = document.getElementById('trtm'); nd = new Date(); hs = nd.getHours(); if (hs < 10) {hs = '0'+hs;} ms = nd.getMinutes(); if (ms < 10) {ms = '0'+ms;} so.innerHTML = hs+':'+ms; setTimeout('TrimTime()', 200); } // click to decrease volume|as:av state|ng:navigator|po:player object|vl:volume function VolDec() { if (ng == 'av') { if (as == 3 || as == 9) {vl = po.settings.volume; if (vl > 9) {po.settings.volume = vl-10;}} } else {;} } // click to increase volume|as:av state|ng:navigator|po:player object|vl:volume function VolInc() { if (ng == 'av') { if (as == 3 || as == 9) {vl = po.settings.volume; if (vl < 90) {po.settings.volume = vl+10;}} } else {;} } // mouse away|as:av state|co:clicker object|ng:navigator|os:old source|vo:volume object function VolOff(os) { if (ng == 'av') {vo.setAttribute('src', os); if (as != 3 && as != 9) {window.status=' ';}} else {co.setAttribute('src', no.src); window.status = ' ';} } // mouse over|as:av state|ng:navigator|nn:navigator name|pi:player id|po:player object|vi:volume id|vo:volume object function VolOn(pi, vi) { vo = document.getElementById(vi); if (ng == 'av') { po = document.getElementById(pi); as = po.playState; vo.setAttribute('src', hv.src); if (as != 3 && vi.substring(3,4) == 'd') {window.status = 'Click, to decrease the volume.'} if (as != 3 && vi.substring(3,4) == 'u') {window.status = 'Click, to increase the volume.'} } else {vo.setAttribute('src', uv.src); window.status = nn+' does not support Media Player.';} } // av text a0 = ''; a1 = 'To play audio and video, click the play button. The button will change to stop.'; a2 = 'If you can\'t hear anything, make sure that the volume is not off, or set very low. Double-click the speaker icon in the taskbar to see all the volume controls.'; a3 = 'If you can\'t hear anything, make sure that the volume is not off, or set very low. Click the two volume buttons to adjust the volume.
Double-click the speaker icon in the taskbar to see all the volume controls.'; a4 = 'Audio, video, and interactive effects, can only work when the page has completely downloaded.'; // browser text b0 = '
COPYRIGHT
'; b1 = 'Modern browsers render these pages correctly, and audio and video plays automatically, or on demand, transparently, using an integrated Flash player. Your browser is , or a derivative.'; b2 = ''; // copyright text c0 = 'The page content is Cherry Heaven Limited copyright, 2003-'+yr+'. Any product names reffered to are probably registered trademarks.'; c1 = 'The Copyright Act 1988 generally protects the rights of authors, composers, and artists, until 70 years after their death. Nearly every country has agreed to respect international copyright.'; c2 = 'The Copyright Act 1988 says that you cannot copy, redistribute, perform, broadcast, translate, or adapt, original literary, musical, or artistic works, without the owner\'s permission. So don\'t copy this design, text, audio, or video.'; // delivery text only using d0, d1, and d2? d0 = 'If the delivery address is within the UK mainland, you can shop here now: on line or by phone with a card, or by post with a cheque. The prices include UK VAT at 20.0% and insured door-to-door delivery: there are no other charges.'; d1 = 'If the delivery address is outside the UK mainland, but still within the EU, there\'s an additional distance-related delivery charge. So mail or call first.'; d2 = 'If the delivery address and the invoice address are both outside the EU, you don\'t pay VAT so the prices will be 20.0% less, but there\'s an additional distance-related delivery charge. So mail or call first.'; d3 = 'You can shop here now: on line or by phone with a card, or by post with a cheque. The prices include UK VAT at 20.0% and insured door-to-door delivery: there are no other charges. If the invoice address is not in the EU, you don\'t pay the VAT: so the prices will be 20.0% less.'; d3 = 'If the delivery address is within the UK mainland, there\'ll be an extra distance-related delivery charge. So mail or call first with your delivery address and shopping list.'; d4 = 'If the delivery address is outside the UK mainland, prices include UK VAT at 20.0% and insured door-to-door delivery: there are no other charges. If the invoice address is outside the EU, you don\'t pay VAT: so the prices will be 20.0% less.'; d5 = 'Generally, prices include UK mainland delivery. However, very low-cost items like these can\'t be posted free, so are not in the on-line shop.'; d6 = 'If the delivery address is within the UK mainland, you can shop here now: on line or by phone with a card, or by post with a cheque. The prices include free door-to-door delivery: there\'s no VAT on children\'s clothes, and there are no other charges.'; d7 = 'If you already know which kiln you want, and don\'t need to read more, use the shop link below the menu bar near the top of the page.'; d8 = 'If the delivery address is outside the UK mainland, there\'s an additional distance-related delivery charge. So mail or call first.'; // educational discount text e0 = 'For arts centres, ceramic cafes, colleges, course providers, resellers, retailers, schools, studios, and universities, there are lower prices for kilns, materials, tools, and tumblers. You don\'t need to set up an account: just mail or call.

There isn\'t a percentage discount that applies to everything: it depends on quantity, value, and recent currency fluctuations. There\'s no discount on one or two low-value items.'; e1 = 'For schools, colleges, universities, resellers, retailers, and catalogues, there are lower prices. You don\'t need to set up an account: just mail or call.'; // form text f0 = 'This order form uses standards-compliant internet technologies, and works reliably. However, if, when you click the send button, your browser generates an error message, please mail or call to confirm your order.'; f1 = ''; f2 = ''; f3 = 'This form uses standards-compliant internet technologies, and works reliably. However, if, when you click the send button, your browser generates an error message, please mail or call to confirm your subscription.'; f4 = ''; f5 = 'This message form uses standards-compliant internet technologies, and works reliably. However, if, when you click the send button, your browser generates an error message, please mail or call.'; f6 = ''; // jpgt text g0 = ''; g1 = 'jpgts are wrapped in tissue, then black paper, and tied with cerise ribbon. Your message is printed on a small silver card. The service costs £4.70, including VAT.'; // holiday text h0 = ''; h1 = ''; h2 = '

We\'ll be closed from 10:00 on Wednesday 21st October until 10:00 Friday 30th October, although there will be someone here for general enquiries from 9:00 to 17:00.
On-line shop orders will be despatched on our return. Product details, prices, and email contact are on the appropriate internet pages. Cherry Heaven, our shop in Corfe Castle village, will re-open Friday 30th October. Thanks.<\span>


'; h3 = ''; // jw player j1 = ""; // link text l0 = 'the on-line shop'; l1 = 'this is: '; l2 = '\'s jpgt'; l3 = 'try: '; l4 = 'previous'; l5 = 'shop on line at: '; l6 = ' or '; l7 = 'synchronise: '; l8 = 'choose:'; l9 = 'new'; // object class id text o0 = ''; o1 = 'clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6'; // media player // price and product text p0 = 'many well-known manufacturers. The .'; p1 = ''; p2 = ''; p3 = 'Accent Gold, Accrington, Acton, Aida Art Clay, Beach, Bexfield, Blazer, BronzClay, Bullseye, Chemviron, CK, ClayMania, CPC, CopprClay, D+L Art Glass, Dremel, DuraTool, Evans, GlasClay, Image Transfer, JEC, Kems, Kimber-Allen, Kitiki, Lindstrom, 3M, Metal Adventures, MetalMania, Metal Clay Veneer, Odak, Orton, Paragon, ProClays, Prometheus, SilverEtch, and UltraLite.'; // resolution text r1 = 'note: pop-ups need a screen width of 1280+: yours is '+sw; // // status text s0 = 'Click anywhere, to clear this status message.'; // s1 = 'Audio, video, and interactive effects, can only work when the page has completely downloaded.'; s2 = 'This page is ready for you to use.'; // s3 = 'Password accepted and gate allocated. This page is ready for you to use.'; s4 = 'Click, to add this to your list of favourites.'; s5 = 'Click, to mail about anything on this page.'; // s6 = 'Click, to look at this page.'; s7 = 'Click the link below the menu bar to look at this page.'; s8 = 'Click, to transfer to this resource.'; // s9 = 'Click the link above the menu bar to transfer to this resource.'; // sA = 'Click to play this audio or video.'; sB = 'Click to stop this audio or video.'; sC = 'The phone number is at the top of this page.'; sD = 'Click the link below the menu bar to stop the audio.'; sE = 'This is a mouse-over link, so doesn\'t need to be clicked.'; // sF = 'Cherry Heaven Safe Shopping.'; sG = 'To play or pause the programme, click the Cherry Heaven TV player.'; // text t0 = ''; t1 = 'This internet page has been designed to print on A4 paper in a landscape format. However, before printing, check that the margins in your browser\'s Page Setup are not greater than the recommended European standard: top 15mm, right 30mm, bottom 20mm, and left 30mm. Don\'t print headers or footers.'; t2 = 'The standard margins create pleasing proportions, and allow papers to be hole-punched or bound without losing text. If you\'re not sure, check the Print Preview before printing.'; // user text u0 = ''; u1 = 'As with most computer applications, the menu bar is near the top of the page. To navigate, click the links: they\'ll change colour before you click. Click links above the menu bar to leave this resource and open new ones. Click links below the menu bar to lo at other pages, shop on line, or mail Cherry Heaven. For example: click the shop link, top right, to lo at the on-line shop. From any page, click start to return to this front page.'; u2 = 'In Internet Explorer, you can add this page to your favourites by clicking the net address, on the left above the menu bar near the top of the page. In other browsers, bomark it from the browser\'s menu.'; // web list w0 = ''; w1 = 'Electric Kilns, Paragon Kilns, BabyKiln, MiniKiln, MagicFuse, Electric Tumblers, Art Clay, Glass Clay, Accent Gold, The Kitiki Studio, and others.'; w2 = 'Cherry Heaven, i-Block, i Duck, Fat Bear, Ghost Radar, Sushi Disk, USB Squid, and other products, made or marketed by Solid Alliance'; w3 = 'Cherry Heaven, BusyBabies, Electric Kilns, Fat Bear, Ghost Radar, i-Block, i-Duck, Pretty Clothes, Sushi Disk, USB Squid, and The Working Kitchen.'; // designarcade.co.uk // shared pop-ups for net resources // shared pop-ups video // iixx:image code xxnx:image source var ch1s=new Image(160,120); ch1s.src='http://www.cherryheaven.co.uk/chshop11.jpg'; // snap:cherry heaven shop var ce1s=new Image(160,120); ce1s.src='http://www.designarcade.co.uk/cemark11.jpg'; // snap:ce mark var ch2s=new Image(160,120); ch2s.src='http://www.designarcade.co.uk/chhvtv21.jpg'; // snap:cherry heaven logo var jp1s=new Image(160,120); jp1s.src='http://www.designarcade.co.uk/japanx11.jpg'; // maps:japan var pm1s=new Image(160,120); pm1s.src='http://www.designarcade.co.uk/papman11.jpg'; // snap:paper man var sk1s=new Image(160,120); sk1s.src='http://www.designarcade.co.uk/socket11.jpg'; // snap:uk 13a double socket var tm1s=new Image(160,120); tm1s.src='http://www.designarcade.co.uk/tempxx11.jpg'; // snap:temperature var tv2s=new Image(160,120); tv2s.src='http://www.designarcade.co.uk/chplay21.jpg'; // snap:cherry heaven tv player in black var up1s=new Image(160,120); up1s.src='http://www.designarcade.co.uk/ukplug11.jpg'; // snap:uk 3-pin plug var uk1s=new Image(160,120); uk1s.src='http://www.designarcade.co.uk/ukflag11.jpg'; // snap:uk flag var aa1s=new Image(160,120); aa1s.src='http://www.luxurycandles.co.uk/aaaxxx11.jpg'; // snap:aaa battery var cr1s=new Image(160,120); cr1s.src='http://www.luxurycandles.co.uk/cr203211.jpg'; // snap:cr2032 battery var us1s = new Image(160,120); us1s.src='http://www.paragonkilns.co.uk/usbxxx11.jpg'; // snap:usb // shxxxx:shared pop-up heading // sixxxx:shared pop-up image // stxxxx:shared pop-up text var sh0001 = '

THE CHERRY HEAVEN TV PLAYER

'; var si0001 = 'The Cherry Heaven TV Player'; var st0001 = '

To play, pause, or stop the player, or adjust the volume, click the controls or, whilst it\'s playing, drag the time-line slider to a new position.

You can adjust the volume by clicking the loudspeaker icon, bottom right in the task bar at the bottom of the screen. Find this now and check that it\'s not set very low before you play any of the programmes.


The player has already been downloaded and embedded in this page, so it\'ll work on any computer in any country. Although it adopts the current interactive colour scheme, it\'s only saved temporarily on your computer.

It doesn\'t install any adware, key loggers, spy software, or viruses, nor does it affect any other programme.

Cherry Heaven TV has encoded the programmes to a net-standard FLV format of 320px x 240px. Other parameters have been set to achieve a practical balance of audio and video quality set against a likely data-streaming rate.

However, they\'re all well over 1MB so, if you\'re not on a fast internet connection, they might pause and continue occasionally if the data stream can\'t keep up with the demands of the player.

'; var sh0002 = '

UK MAINS SOCKETS

'; var si0002 = '13A Mains Socket'; var st0002 = '

UK mains sockets are usually part of a 30A ring, with each socket limited to 13A by the plug fuse.

The ring leaves the fusebox, connects to several sockets in sequence, and returns to the fusebox. Usually, each ring is a separate circuit with a separate fuse.


As the average voltage is 240V, the maximum wattage from one socket is 3120W, or 3.12kW.

Don\'t overload the circuit by plugging in too many other appliances, particularly ones that get hot as it\'s these that draw the most current.

'; var sh0003 = '

UK 230V MAINS VOLTAGE

'; var si0003 = ''; var st0003 = '

Why is UK equipment rated at 230V when the widely-held belief is that UK voltage is 240? Here\'s the story:


Before 2003, UK mains voltage was generally assumed to be 240 and European to be 220.

The EU planned to harmonise the voltage to 230 but the implementation costs were too high for no real benefit.

To appear harmonised, the nominal voltage was changed to 230, but within allowed actual limits of 207 to 253.


Despite this, UK mains voltage still has a reliable average of 240, which is used in calculations. For example:

A regular UK 240 Volt 13 Amp mains socket can deliver 240 x 13 Watts, or 3120 Watts, usually called 3.12kW.


In London, in 1918, there were 70 electricity authorities using 50 different systems supplying 24 different voltages at 10 different frequencies.

'; var sh0004 = '

WHERE NOW?

'; var si0004 = ''; var st0004 = '

The menu bar is near the top of the page. To navigate, click the links: they\'ll change colour just before you click.

Click links above the menu bar to leave this resource and open new ones.
Click links below the menu bar to transfer to other pages, shop on line, or mail questions.
Some links are context-aware: click them to see new links for new pages.

From any other page, click the main-menu link to return to this front page.

If the mail link doesn\'t open your normal email program automatically, write later to '+ce+'.

There are often prompts in the browser\'s status bar, near the bottom of the window. Unfortunately, most browsers prevent me writing to the status bar by default, although you can enable this useful feature.

Within the text, the mouse-over coloured words generate helpful pop-ups. You don\'t need to click the text. Try one now?

'; var sh0005 = '

CONSUMER PROTECTION

'; var si0005 = ''; var st0005 = '

Cherry Heaven makes every effort to represent products accurately.

If a product is faulty, we\'ll have it collected and repaired or replaced. If you feel it\'s unsatisfactory, you can ask to return it, using an insured service, within seven days, although at your own cost.

It must arrive here in its undamaged original packing and in perfect condition, so that it can be resold.

By completing the delivery and payment form below, you will have agreed to this consumer protection provision.


Kilns are the exception as you\'ve been able to read about them, or call and discuss your choice. They\'re made or ordered for you, so this returns policy excludes them. If you cancel after the kiln has been made or shipped from the manufacturer, there will be a 10% restocking and resale charge: so don\'t order a kiln unless this is OK.

'; var sh0006 = '

CE MARKING

'; var si0006 = 'CE Mark'; var st0006 = '

CE is the abbreviation for the French phrase Conformité Européene, European Conformity, and is a manufacturer\'s declaration that a product satisfies EU health, safety, and environmental protection legislation. It\'s all about safety, not quality.

It must be fixed to any product in an EU-defined category.

EU countries can\'t prevent, prohibit, or restrict the sale or use of a CE-marked product.

Since, without a CE mark, a product can\'t be sold or used within the EU, it can be regarded as the product\'s trade passport for Europe.


CE is an abbreviation not an acronym. Acronyms, such as UNICEF, LASER, and NATO, are pronounced as words, not as a sequence of letters, such as the abbreviations BBC, EU, and USA.

'; var sh0007 = '

WHERE NOW?

'; var si0007 = ''; var st0007 = '

The menu bar is near the top of the page. To navigate, click the links: they\'ll change colour just before you click.

Click links above the menu bar to leave this resource and open new ones.
Click links below the menu bar to transfer to other pages, shop on line, or mail questions.
Some links are context-aware: click them to see new links for new pages.

From any page, click main-menu to return to this front page.

If the mail link doesn\'t open your normal email program automatically, write later to '+ce+'.

There are often prompts in the browser\'s status bar, near the bottom of the window. Unfortunately, most browsers prevent me writing to the status bar by default, although you can enable this useful feature.

'; var sh0008 = '

PASSWORD HELP

'; var si0008 = ''; var st0008 = '

Type your password in the box and click the button under the box.

You must click the button. The password will not work if you press the ENTER/RETURN key.

Type carefully, because password PASS4567 is not the same as password pass4567.

'; var sh0009 = '

THE DATA PROTECTION ACT 1998

'; var si0009 = ''; var st0009 = '

The 1998 Data Protection Act became law in March 2000, replacing, and building on, the 1984 act.

Personal data must be collected fairly and lawfully, and can only be kept for a time appropriate for the intended purpose. It is your legal right to be able to check that your data is accurate.

Personal data must be reasonably protected from loss, theft, corruption, and unauthorised or unlawful access.

'; var sh0010 = '

CHERRY HEAVEN

'; var si0010 = 'Cherry Heaven Logo'; var st0010 = '

Cherry Heaven is a shop in Corfe Castle village, in Dorset, South-West England.


In England, phrases such as cherry-blossom time, cherry heaven, to cherry pick, in cherry condition, my cherry pie, and a bowl of cherries, all mean being best, first, or new.

In China, cherry blossoms symbolise feminine beauty and sexuality. In Japan, they represent life\'s brief pleasures.

Cherries have been grown extensively in the UK, Western Europe, Asia, and the Far East. There are more than 600 varieties, derived from two original types: sweet or sour.

Cherries have a very short flowering period but produce a generous and luxurious display. The fruit are some of the earliest to ripen.


All cherries contain melatonin, important for the immune system, and the pigment includes anthocyanins, powerful antioxidants which can reduce pain and inflammation.

'; var sh0011 = '

TEMPERATURE

'; var si0011 = 'Temperature'; var st0011 = '

The three most popular temperature scales are Celsius, Fahrenheit, and Kelvin. The everyday descriptions are:


The Celsius temperature scale: water freezes at 0°C and boils at 100°C. Celsius is now the international standard, having replaced the equivalent Centigrade in 1948.

The Fahrenheit temperature scale: water freezes at 32°C and boils at 212°C. Fahrenheit is commonly used in the US, and sometimes conversationally in the UK.

The Kelvin temperature scale: water freezes at 273.15K and boils at 373.15K. Kelvin is not measured in degrees Kelvin, just Kelvin: so it\'s written K, not °K.

At absolute zero, there\'s a theoretical unattainable zero thermal energy. It\'s defined as 0K, or -273.15°C. Celsius and Kelvin are both used in scientific work.


To convert Celsius to Fahreneit, multiply by 9, divide by 5, and add 32.
To convert Fahrenheit to Celsius, subtract 32, divide by 9, and multiply by 5.

'; var sh0012 = '

ELECTRICITY

'; var si0012 = ''; var st0012 = '

There are three commonly-used electrical measurements: Volts, for example 230V, is the pushing force. Amps, for example 5A, is the amount being pushed. And Watts, for example 60W, is the power.

They\'re related by a simple formula Watts = Volts x Amps, usually written as W = VI.
Although EU voltage is nominally defined as 230V, UK mains voltage has a reliable average of 240, which is used in calculations. For example:

A regular UK 240 Volt 13 Amp mains socket can deliver 240 x 13 Watts, or 3120 Watts, usually called 3.12kW.


It\'s interesting that a 10W radio will fill the room, a 100W light bulb will light the room, and a 1000W fan heater will warm the room. So, as we pay for electricity by the kilowatt, it\'s heating devices that cost the most to run. Which is why you get a big bill if you leave the immersion heater on.

Sadly, riding an excercise bike only generates about 60W so, although the exercise keeps you warm, it\'s hard to be energy-independent. Especially as most of a light bulb\'s energy is heat rather than light.

'; var sh0013 = '

MAIL

'; var si0013 = ''; var st0013 = '

To mail now, use the mail link below the menu bar near the top of the page. If it doesn\'t open your normal email program, write to '+ce+'.

'; var sh0014 = '

DISTRIBUTOR

'; var si0014 = ''; var st0014 = '

A distributor makes a substantial financial and marketing commitment to a particular manufacturer to promote their products, usually within a geographical region.

Although some distributors sell directly to customers at a recommended retail price, their prime function is to supply resellers who have made a small but regular commitment.

Distributors should understand the products, and provide technical support, spare parts, and repair options.


It\'s not the job of a distributor to try to become the main reseller and prevent real resellers from developing their businesses.

'; var sh0015 = '

TRANSFER NOW TO CHERRY HEAVEN?

'; var si0015 = 'Cherry Heaven Shop'; var st0015 = '

Cherry Heaven is a shop in Corfe Castle village, in Dorset, South-West England.

It sells a selection of essentials and luxuries for you, your family, your home, and your work.


To transfer now, use the highlighted link: but remember to bomark this page first?

Alternatively, you can talk to someone at Cherry Heaven using mail@cherryheaven.co.uk or on 01929 477137.

'; var sh0017 = '

THE CR2032 BATTERY

'; var si0017 = 'The CR2032 Battery'; var st0017 = '

Lithium cells, such as the CR2032, perform up to seven times better than standard alkaline batteries. They work over a wide temperature range and have a long shelf life.

In the number 2032, the first two digits, 20, mean that the cell is 20mm in diameter: the last two digits, 32, mean that the cell is 3.2mm thick.

'; var sh0018 = '

THE AAA BATTERY

'; var si0018 = 'The AAA Battery'; var st0018 = '

Alkaline cells, such as the AAA, perform up to seven times better than standard zinc-carbon batteries. They work over a wide temperature range and have a long shelf life.

'; var sh0019 = '

TRANSFER NOW TO CALL AN ANGEL?

'; var si0019 = ''; var st0019 = '

Call An Angel is a collection of interesting shopping ideas.


To transfer now, use the highlighted link: but remember to bomark this page first?

Alternatively, you can talk to someone at Call An Angel using mail@cherryheaven.co.uk or on 01929 477137.

'; var sh0020 = '

US 120V MAINS VOLTAGE

'; var si0020 = ''; var st0020 = '

Why is US equipment rated at 120V when the widely-held belief is that US voltage is 110? Here\'s the story:


Most homes have a nominal 240 supply split into two 120 supplies, each within allowed actual limits of 114 to 126. This 120 serves most of the lights and sockets, although some large high-current devices use the full 240.

However, long power lines mean that there\'s usually a voltage drop, so equipment specifications often say 110, implying that it will run as expected at that voltage.


120V equipment needs twice the current, and therefore heavier cables, than 240 to provide the same power.


If you\'re thinking of buying US equipment made for the US market, you can buy a 120 to 240 converter. However, in November 2010, a 3kW converter was £329. Generally, converters are large, get hot, and often make a low humming sound which you can hear several rooms away.


A few years ago, the average power consumed directly or indirectly per person in the US was 12 606 kWh. In the UK, it was 5 658. In the Gaza Strip it was just 0.15.

'; var sh0021 = '

DC AND AC

'; var si0021 = ''; var st0021 = '

When you connect a bulb to a battery, current flows one way: out of the battery, through the bulb, and back to the battery. This is called DC: direct current.

When you connect a bulb to the mains, current flows from the live, through the bulb, and back through the neutral: except that it reverses 50 times a second. This is called AC: alternating current.


In the EU, AC mains reverses 50 times a second: called 50Hz. In the US, it\'s 60Hz.

'; var sh0022 = '

FEW LESS, MANY, AND MUCH

'; var si0022 = ''; var st0022 = '

I\'ve included this as someone asked me why I used the word fewer, rather than less.

Generally, few and many are used for something you can count and less and much for something you can\'t. So we say:

I\'ve had too many days off work this year, but fewer than last year.

I have too much sugar in my tea, although less than my boyfriend.


However, English isn\'t a rule-based language and there are some things that can be counted in one context but not in another.

'; var sh0023 = '

IMPERIAL AND METRIC MEASUREMENTS

'; var si0023 = ''; var st0023 = '

A long time ago, people used convenient measures, such as the length of their foot or the weight of a sack of grain.

In Britain, people used acres, bushels, chains, fathoms, feet, furlongs, gallons, inches, miles, ounces, perches, pints, poles, pounds, rods, tons, and yards. In 1824, these were collected together as the Imperial System.

France, and the European scientific community wanted a simpler accurate system, which led to the Metric Sysyem. The UK nominally adopted the Metric System in 1971, but the US continued with Imperial and uses it in everyday life.


However, in the UK, many of the old measures are still used, regardless of EU directives: a two-mile walk, a six-foot man, a seven-pound baby, and a pint of beer. And, because of the implementation costs, miles might always be used instead of kilometres on road signs.

There are two handy approximations: one inch is about 2.5cm, or 25mm, and one foot, twelve inches, is about 30cm, or 300mm.


My grandmother never really understood the change from 240 old pennies to the pound to 100 new pennies to the pound: after a well-meaning shop assistant told her that the old sixpence was worth half of fivepence.

'; var sh0024 = '

USB: UNIVERSAL SERIAL BUS

'; var si0024 = 'USB: Universal Serial Bus'; var st0024 = '

The Universal Serial Bus, USB, is a plug-and-play digital connection between the computer and most peripherals, designed to replace the old plugs, sockets, cables, and expansion interfaces.

Up to 127 fast-access devices can be set up automatically and hot-swapped without turning the computer off.

Universal means it\'s an internationally agreed standard. A bus is the computer\'s two-way connection which carries data between the processor, the disc, the memory, and the peripherals. Serial means that data is sent one bit after another, as a data stream.


A road bus carries passengers between work, home, and the shops. And a tee-vee serial shows the episodes one after another, in the right sequence.

'; var sh0025 = '

A LESS-PAPER SYSTEM

'; var si0025 = 'Paper Man'; var st0025 = '

As an internet business, we don\'t have paper information to send you, except an invoice showing that you paid.

The system doesn\'t generate brochures, leaflets, quotes, pro formas, duplicate invoices, statements, advice notes, consignment notes, delivery notes, or packing slips.

Environmental issues are important. Our catalogue would run to well over a hundred pages: it\'s just too wasteful.


Although the law does not accept a completely paper-less system, a less-paper system is our continuing intention.

'; var sh0026 = '

BROWSER BUGS

'; var si0026 = ''; var st0026 = '

Pop-ups help you: they\'re not adverts. They can only fit on the screen if the screen is wide enough and the zoom setting isn\'t greater than 100%.

However: two browsers, Google Chrome and Apple Safari, both have the same positioning bug: pop-ups always appear at the top of the page so, if you\'ve scrolled down, the top of the page will be off the screen and you can\'t see the pop-ups.


Modern interactive web pages need the latest browsers. Browser updates are free, but be careful not to download extras that you don\'t want.

After years of mixed standards and proprietory features, most browsers now support HTML 5.


Unfortunately, Internet Explorer 9 includes the unpopular ClearType with sub-pixel fonts: so text alignments are now incorrect, some lines lo gappy, small-ish fonts are harder to read, and, generally, years of careful work by web designers has been undermined.

All in all, more reasons to use FireFox.

'; var sh0027 = '

CANDLE PRICES

'; var si0027 = ''; var st0027 = '

The on-line shop prices for candles are the total prices, so include include batteries, 20.0% VAT, and insured door-to-door UK-mainland delivery.

You won\'t have to register, log on, or complete all your personal and debit card details to discover that, at the last moment, the total is more than you expected.

If you don\'t want to use your debit card, there are other contact and payment options on the shop page: use the shop link below the menu bar near the top of the page.

If the delivery address is outside the UK mainland, but still within the EU, there\'s an additional distance-related delivery charge. So mail or call first.

If the delivery address and the invoice address are both outside the EU, you don\'t pay the VAT so the prices will be 20.0% less. But there\'s an additional distance-related delivery charge. So mail or call first.

'; var sh0028 = '

OF AND FROM

'; var si0028 = ''; var st0028 = '

I\'ve included this as someone asked me why I used the word of, rather than from.

Generally, a chair is made of wood as you can still see the wood, and wine is made from grapes as you can\'t see the grapes. So we say:

The shot used in a rotary tumbler is made of stainless steel.

The cheapest batteries are often made from carbon and zinc.


However, English isn\'t a rule-based language and there are some things that are made of something in one context but from something in another.

'; var sh0029 = '

READ THIS IN ENGLISH?

'; var si0029 = ''; var st0029 = '

If your English isn\'t very good, you can use a free translation service on the internet.

Go to www.systranet.com then, in the Translate With Systran box choose Web Page, and paste or type the page address into the box.

It\'s not perfect, and some things will be out of alignment, or won\'t work: but it\'s free.

'; var sh0030 = '

¿LEA ESTO EN ESPAÑOL?

'; var si0030 = ''; var st0030 = '

Si su inglés no es muy bueno, usted puede utilizar un servicio de traducción libre en el Internet.

Entonces vaya a www.systranet.com, en el traducir con la caja de Systran elija el Web page, y la goma o mecanografíe la dirección de página en la caja.

No es perfecta, y algunas cosas estarán fuera de alineación, o no trabajarán: pero está libre.

'; var sh0031 = '

LISEZ CECI EN FRANÇAIS?

'; var si0031 = ''; var st0031 = '

Si votre anglais n\'est pas très bon, vous pouvez employer un service de traduction libre sur l\'Internet.

Allez à www.systranet.com alors, la traduction avec la boîte de Systran choisissez la page Web, et la pâte ou introduisez au clavier l\'adresse de page dans la boîte.

Elle n\'est pas parfaite, et quelques choses seront hors de l\'alignement, ou ne fonctionneront pas : mais il est libre.

'; var sh0032 = '

LÄS DETTA I SVENSK?

'; var si0032 = ''; var st0032 = '

Om ditt engelska inte är mycket bra, kan du använda en fri översättning som är tjänste- på internet.

Gå till www.systranet.com därefter, i översättningen med Systran boxas väljer rengöringsduksidan och deg eller skrivar sidan tilltalar in i boxas.

Den är inte att göra perfekt, och någon ska saker är ut ur justering eller ska inte arbete: men den är fri.

'; var sh0033 = '

LEGGA QUESTO IN ITALIANO?

'; var si0033 = ''; var st0033 = '

Se il vostro inglese non è molto buono, potete usare un servizio di traduzione libero di Internet.

Poi vada a www.systranet.com, nella traduzione con la scatola Systran scelga la pagina Web e la pasta o scriva l\'indirizzo della pagina a macchina nella scatola.

Non è perfetta ed alcune cose saranno dall\'allineamento, o non funzioneranno: ma è libero.

'; var sh0034 = '

ENGLAND, GB, OR THE UK?

'; var si0034 = 'UK Flag'; var st0034 = '

GB is the abbreviation for Great Britain: the island made up of England, Scotland, and Wales.
Scotland and Wales aren\'t in England. Scottish and Welsh people aren\'t English.

Ireland is the island made up of Northern Ireland and Southern Ireland. Southern Ireland is also called Eire.

The British Isles is the geographical name for the two islands of Great Britain and Ireland, and some smaller islands such as the Isle Of Man and the Isle Of Wight. The Isle Of Man is also called Mann.

UK is the abbreviation for United Kingdom. The UK is a political whole made up of the four countries England, Scotland, Wales, and Northern Ireland, and some small islands. The Isle Of Man is not part of the UK.

The language spoken is British English, usually just called English. However, sometimes, to make it clear that it is not the English spoken in the US, Canada, Australia, South Africa, India, and other countries, it\'s called UK English.

Generally, if you were born in England, you\'re English by birth but British by nationality, and so have a British passport. If you\'re an immigrant and have a British passport, you\'re British, not English.

My passport is titled The United Kingdom of Britain and Northern Ireland but, inside, says I am a British Citizen. The word Kingdom is used even when there\'s a queen.

'; var sh0035 = '

A UK 3-PIN PKUG

'; var si0035 = 'UK 3-Pin Plug'; var st0035 = '

In the UK, most electrical devices have a ready-fitted 3-pin plug. There are a few exceptions, such as some kitchen ovens, some table lights, and high-current equipment.

A 3-pin plug accepts three wires: Live, Neutral, and Earth, or L, N, and E. The earth wire prevents the device becoming live if something fails.


The Live has a fuse, built in to the plug. Usually it\'s a 13A fuse, but low-current devices, such as computers, radios, and table lights, usually have a 3A fuse.'; var sh0036 = '

JAPAN

'; var si0036 = 'Japan'; var st0036 = '

On the television, someone was talking about Japan as if it was a small island near China.


Japan is an archipelago of 6,852 islands with a population of over 127 million, located in East Asia in the Pacific Ocean.

The four main islands are Hokkaido, Honshu, Shikoku, and Kyushu. Tokyo, the capital, is on Honshu, the largest island.

The Greater Tokyo Area, which includes several surrounding prefectures, is the largest metropolitan area in the world, with over 30 million residents.


20% of the world\'s earthquakes take place in Japan, which sits on the boundaries of at least three tectonic plates.

Schools and office workers regularly take part in earthquake drills, and waiting for the big one is deeply engrained in the national psyche.

As over 70% of Japan is mountainous, nearly everyone lives in cities along a coastal strip that\'s vulnerable to tsunamis.


The characters that make up the name Japan mean sun origin, which is why Japan is sometimes referred to as the Land Of The Rising Sun.

'; var sh0128 = '

INTERNET RESOURCE

'; var si0128 = ''; var st0128 = '

If you can see all these pop-ups, you\'ve probably got a modern computer with fairly recent updates.


A few years ago, web pages had to be written to account for the quirks of competing browsers. Every month it got worse: standards competed against proprietory features.

By 2010, it had stabilised and now pages generally lo and behave the same way in all the browsers.

However, virtually no one still writes pages for Windows 98 and Netscape or Windows ME and Internet Explorer 5.0 so, to benefit from the design and interactivity of modern web pages, upgrade your operating system fairly often and use the latest browsers.


I rather like the old-style menu bar with drop-downs and a functional status bar on a 1280x1024 screen: and I don\'t like all the extra toolbars, fun-desktops, personas, and add-ons that take up space.

Although computers are easier to use, they just seem to suck away the hours, often with minimal results.

';