// workingkitchen.co.uk

// clickers
var en = new Image(24,11); en.src = 'http://www.workingkitchen.co.uk/cken.gif'; // clicker:end
var oa = new Image(24,11); oa.src = 'http://www.workingkitchen.co.uk/ckoa.gif'; // clicker:over action

// link marker
var lm = new Image( 8, 8); lm.src = 'http://www.workingkitchen.co.uk/lkmk.gif'; // link marker

// pop-up marker
var pm = new Image(10,12); pm.src = 'http://www.workingkitchen.co.uk/pumk.gif'; // pop-up marker

// menu array
mn = new Array(23);
mn[ 0] = 'start';
mn[ 1] = 'knives';
mn[ 2] = 'cookware';
mn[ 3] = 'bakeware';
mn[ 4] = 'storage';
mn[ 5] = 'shop';
mn[ 6] = 'mail';
mn[ 7] = 'clocks';
mn[ 8] = 'skk-premium-plus';
mn[ 9] = 'radio';
mn[10] = 'timer';
mn[11] = 'radio-clocks';
mn[12] = 'richardson-sheffield';
mn[13] = 'plants';
mn[14] = 'wet-pots';
mn[15] = 'preparation';
mn[16] = 'furniture';
mn[17] = 'books';
mn[18] = 'courses';
mn[19] = 'china';
mn[20] = 'teapots';
mn[21] = 'skk premium plus';
mn[22] = 'the on-line shop';

// set client|cd:client description|ce:client email|cn:client name|cu:client url|cv:client vat
var cd = 'Premium Quality Cookware And Kitchen Products';
var ce = 'workingkitchen@cherryheaven.co.uk';
var cn = 'The Working Kitchen';
var cu = 'workingkitchen.co.uk';
var cv = '17.5%';

// mouse over favourite link to swap colour|nc:navigator code|ui:url id
function FaveOn(ui)
{
if   (nc == 'e6' || nc == 'm6' || nc == 'm8') 
     {document.getElementById(ui).style.color = '#00FFFF'; window.status = s4;}
else {;}
}
function FaveOff(ui)
{
if   (nc == 'e6' || nc == 'm6' || nc == 'm8')
     {document.getElementById(ui).style.color = '#6495ED'; 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 ok
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) 
     {document.getElementById(li).style.color = '#00FFFF';}
if   (bc < 72) 
     {bt = setTimeout('LinkBlink("'+li+'")', 1);}
if   (bc > 71) 
     {bt = setTimeout('LinkBlink("'+li+'")', 1); document.getElementById(li).style.color = '#6459ED';}
if   (bc == 121)
     {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 = '#00FFFF'; window.status = s6;
}
function LinkOff(li)
{
clearTimeout(bt); bc = 0; document.getElementById(li).style.color = '#6495ED'; window.status = s2;
}

// mouse over url link to swap colour|ui:url id ok
function LookOn(ui)
{
document.getElementById(ui).style.color = '#00FFFF'; window.status = s8;
}
function LookOff(ui)
{
document.getElementById(ui).style.color = '#6495ED'; window.status = s2;
}

// mouse over mail link to swap colour|ei:email link id ok
function MailOn(ei)
{
document.getElementById(ei).style.color = '#00FFFF'; window.status = s5;
}
function MailOff(ei)
{
document.getElementById(ei).style.color = '#6495ED'; window.status = s2;
}

// mouse over mute link to swap colour and cursor|si:span id
function MuteOn(si)
{
document.getElementById(si).style.color = '#00FFFF'; window.status = sD;
document.getElementById(si).style.cursor = 'pointer';
}
function MuteOff(si)
{
document.getElementById(si).style.color = '#6495ED'; window.status = s2;
document.getElementById(si).style.cursor = 'crosshair';
}

// mouse over text to swap remote page link colour|li:link id ok
function PageOn(li)
{
document.getElementById(li).style.color = '#00FFFF'; window.status = s7;
}
function PageOff(li)
{
clearTimeout(bt); bc = 0; document.getElementById(li).style.color = '#6495ED'; window.status = s2;
}

// site blink to blink and swap colour|bc:blink counter|bt:blink timer|si:site id ok
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 = '#000000';}
if   (bc == 8 || bc == 22 || bc == 36 || bc == 50) 
     {document.getElementById(si).style.color = '#00FFFF';}
if   (bc < 72) 
     {bt = setTimeout('SiteBlink("'+si+'")', 1);}
if   (bc > 77) 
     {bt = setTimeout('SiteBlink("'+si+'")', 1); document.getElementById(si).style.color = '#6495ED';}
if   (bc == 121)
     {clearTimeout(bt); bc = 0; window.status = s2;}
}

// mouse over text to swap remote url link colour|ui:url id ok
function SiteOn(ui)
{
document.getElementById(ui).style.color = '#00FFFF'; window.status = s9;
}
function SiteOff(ui)
{
clearTimeout(bt); bc = 0; document.getElementById(ui).style.color = '#6495ED'; window.status = s2;
}

// mouse over text to swap remote text colour|ti:text id ok
function TextOn(ti)
{
document.getElementById(ti).style.color = '#00FFFF';
}
function TextOff(ti)
{
document.getElementById(ti).style.color = '#D3D3D3';
}

// text for status messages
var s4 = 'Click, to add The Working Kitchen to your list of favourites.';
var s5 = 'Click, to mail The Working Kitchen about anything on this page.';
