// kitiki.co.uk

// clickers
var en = new Image( 24, 11); en.src = 'http://www.kitiki.co.uk/cken.gif'; // clicker:end
var oa = new Image( 24, 11); oa.src = 'http://www.kitiki.co.uk/ckoa.gif'; // clicker:over action

// link marker
var lm = new Image(  8,  8); lm.src = 'http://www.kitiki.co.uk/lkmk.gif'; // link marker

// pop-up marker
var pm = new Image( 10, 12); pm.src = 'http://www.kitiki.co.uk/pumk.gif'; // pop-up marker

// menu array
mn = new Array(73);
mn[ 0] = 'main-menu';
mn[ 1] = 'art-clay';
mn[ 2] = 'kilns';
mn[ 3] = 'tools';
mn[ 4] = 'tumblers';
mn[ 5] = 'materials';
mn[ 6] = 'courses';
mn[ 7] = 'gallery';
mn[ 8] = 'club';
mn[ 9] = 'shop';
mn[10] = 'help';
mn[11] = 'mail';
mn[12] = 'pay';
mn[13] = 'gift';
mn[14] = 'accent-gold';
mn[15] = 'qf-6';
mn[16] = 'paragon-kilns';
mn[17] = 'paragon kilns';
mn[18] = 'caldera';
mn[19] = 'fusion';
mn[20] = 'accessories';
mn[21] = 'acrylics';
mn[22] = 'files';
mn[23] = 'pliers';
mn[24] = 'drills';
mn[25] = 'torches';
mn[26] = 'rotary-1';
mn[27] = 'rotary-2';
mn[28] = 'rotary-3';
mn[29] = 'rotary-4';
mn[30] = 'instructions';
mn[31] = 'clays';
mn[32] = 'pastes';
mn[33] = 'paper';
mn[34] = 'syringes';
mn[35] = 'cork';
mn[36] = 'firing';
mn[37] = 'dorset';
mn[38] = 'kit 5';
mn[39] = 'kit 6';
mn[40] = 'kits';
mn[41] = 'repair';
mn[42] = 'clay';
mn[43] = 'rotary tumbler';
mn[44] = 'magnetic polisher';
mn[45] = 'sc-2';
mn[46] = 'mini-kiln';
mn[47] = 'firefly';
mn[48] = 'veneer';
mn[49] = 'metal clay veneer';
mn[50] = 'new';
mn[51] = 'rotary';
mn[52] = 'ultrasonic';
mn[53] = 'engravers';
mn[54] = 'magnetic';
mn[55] = ':';
mn[56] = 'ultralite';
mn[57] = 'more ...';
mn[58] = 'the kitiki mini-kiln';
mn[59] = 'image-transfer';
mn[60] = 'bronzclay';
mn[61] = 'the ultralite kiln';
mn[62] = 'efco-kilns';
mn[63] = 'efco kilns';
mn[64] = 'the on-line shop';
mn[65] = 'advance-kilns';
mn[66] = 'the art clay club';
mn[67] = 'rotary kit 1';
mn[68] = 'rotary kit 2';
mn[69] = 'rotary kit 3';
mn[70] = 'rotary kit 4';
mn[71] = 'kit-1';
mn[72] = 'kit-2';

// set client|cd:client description|ce:client email|cn:client net|cs:client store|cu:client url|cv:client vat
var cd = 'Art Clay, Kilns, And Tools';
var ce = 'kitiki@cherryheaven.co.uk';
var cn = 'Kitiki';
var cs = 'shop@cherryheaven.co.uk';
var cu = 'kitiki.co.uk';
var cv = '17.5%';

// mouse over call to swap remote text colour|ti:text id
function CallOn(ti)
{
document.getElementById(ti).style.color = '#FFCC99'; window.status = sC;
}
function CallOff(ti)
{
document.getElementById(ti).style.color = '#FF4500'; window.status = s2;
}

// mouse over favourite link to swap colour|nc:navigator code|ui:url id
function FaveOn(ui)
{
if   (nc == 'e6' || nc == 'e7' || nc == 'e8' || nc == 'm6' || nc == 'm8') 
     {document.getElementById(ui).style.color = '#FFCC99'; window.status = s4;}
else {;}
}
function FaveOff(ui)
{
if   (nc == 'e6' || nc == 'e7' || nc == 'e8' || nc == 'm6' || nc == 'm8')
     {document.getElementById(ui).style.color = '#FFFFFF'; window.status = s2;}
else {;}
}

// mouse over field to swap background colour|fi:field id
function FieldOn(fi)
{
document.getElementById(fi).style.background = '#333333';
}
function FieldOff(fi)
{
document.getElementById(fi).style.background = '#000000';
}

// 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 = '#000000';}
if   (bc == 8 || bc == 22 || bc == 36 || bc == 50 || bc == 64) 
     {document.getElementById(li).style.color = '#FFCC99';}
if   (bc < 92) 
     {bt = setTimeout('LinkBlink("'+li+'")', 1);}
if   (bc == 92)
     {clearTimeout(bt); bc = 0; window.status = s2;}
}

// mouse over page link to swap colour|li:link id
function LinkOn(li)
{
document.getElementById(li).style.color = '#FFCC99'; window.status = s6;
}
function LinkOff(li)
{
clearTimeout(bt); bc = 0; document.getElementById(li).style.color = '#FF4500'; window.status = s2;
}

// mouse over url link to swap colour|ui:url id
function LookOn(ui)
{
document.getElementById(ui).style.color = '#FFCC99'; window.status = s8;
}
function LookOff(ui)
{
document.getElementById(ui).style.color = '#FF4500'; window.status = s2;
}

// mouse over mail link to swap colour|ei:email link id
function MailOn(ei)
{
document.getElementById(ei).style.color = '#FF0000'; window.status = s5;
}
function MailOff(ei)
{
document.getElementById(ei).style.color = '#FF4500'; window.status = s2;
}

// mouse over text to swap remote page link colour|li:link id
function PageOn(li)
{
document.getElementById(li).style.color = '#FFCC99'; window.status = s7;
}
function PageOff(li)
{
document.getElementById(li).style.color = '#FF4500'; window.status = s2;
}

// site blink to blink and swap colour|bc:blink counter|bt:blink timer|si:site id
function SiteBlink(si)
{
bc =  bc + 1; window.status = s7;
if   (bc == 1 || bc == 15 || bc == 29 || bc == 43 || bc == 57)
     {document.getElementById(si).style.color = '#000000';}
if   (bc == 8 || bc == 22 || bc == 36 || bc == 50 || bc == 64) 
     {document.getElementById(si).style.color = '#FFCC99';}
if   (bc < 92) 
     {bt = setTimeout('LinkBlink("'+si+'")', 1);}
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 = '#FFCC99'; window.status = s9;
}
function SiteOff(ui)
{
clearTimeout(bt); bc = 0; document.getElementById(si).style.color = '#FF4500'; window.status = s2;
}

// mouse over text to swap remote text colour|ti:text id
function TextOn(ti)
{
document.getElementById(ti).style.color = '#FFCC99';
}
function TextOff(ti)
{
document.getElementById(ti).style.color = '#D3D3D3';
}

// text for audio messages
var a0 = 'The audio is from a set of wind chimes.';

// text for prices
var p1 = '';

// text for status messages
var s4 = 'Click, to add Kitiki to your list of favourites.';
var s5 = 'Click, to mail Kitiki about anything on this page.';
