// artclayclub.co.uk

// clickers
var en = new Image(24,11); en.src = 'cken.gif'; // clicker:end
var oa = new Image(24,11); oa.src = 'ckoa.gif'; // clicker:over action

// link marker
var lm = new Image( 8, 8); lm.src = 'lkmk.gif'; // link marker

// menu array
mn = new Array(33);
mn[ 0] = 'start';
mn[ 1] = 'artclay';
mn[ 2] = 'kilns';
mn[ 3] = 'tools';
mn[ 4] = 'tumblers';
mn[ 5] = 'materials';
mn[ 6] = 'courses';
mn[ 7] = 'safety';
mn[ 8] = 'mail';
mn[ 9] = 'silverclay';
mn[10] = 'corkclay';
mn[11] = 'workarea';
mn[12] = 'shaping';
mn[13] = 'firing';
mn[14] = 'pliers';
mn[15] = 'drills';
mn[16] = 'glues';
mn[17] = 'finishing';
mn[18] = 'tumblers';
mn[19] = 'accentgold';
mn[20] = 'projects';
mn[21] = 'gallery';
mn[22] = 'goldclay';
mn[23] = 'pastes';
mn[24] = 'syringe';
mn[25] = 'paper';
mn[26] = 'slowdry';
mn[27] = 'glass';
mn[28] = 'drying';
mn[29] = 'zirconium';
mn[30] = 'porcelain';
mn[31] = 'slowtarnish';
mn[32] = 'metals';

// set client|cd:client description|ce:client email|cf:client favourite|cl:client|cn:client net|cv:client vat
var cd = 'All About Art Clay';
var ce = 'artclayclub@cherryheaven.co.uk';
var cn = 'The Art Clay Club';
var cu = 'artclayclub.co.uk';

// mouse over favourite link to swap colour|nc:navigator code|ui:url id
function FaveOn(ui)
{
if   (nc == 'e6' || nc == 'e7' || nc == 'm6' || nc == 'm8') 
     {document.getElementById(ui).style.color = '#FFCC99'; window.status = s4;}
else {;}
}
function FaveOff(ui)
{
if   (nc == 'e6' || nc == 'e7' || nc == 'm6' || nc == 'm8')
     {document.getElementById(ui).style.color = '#FF4500'; 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) 
     {document.getElementById(li).style.color = '#FFCC99';}
if   (bc < 72) 
     {bt = setTimeout('LinkBlink("'+li+'")', 1);}
if   (bc > 71) 
     {bt = setTimeout('LinkBlink("'+li+'")', 1); document.getElementById(li).style.color = '#FF4500';}
if   (bc == 121)
     {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)
{
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 = '#FFCC99'; 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 = s9;
if   (bc == 1 || bc == 15 || bc == 29 || bc == 43)
     {document.getElementById(si).style.color = '#000000';}
if   (bc == 8 || bc == 22 || bc == 36) 
     {document.getElementById(si).style.color = '#FFCC99';}
if   (bc < 58) 
     {bt = setTimeout('SiteBlink("'+si+'")', 1);}
if   (bc > 57) 
     {bt = setTimeout('SiteBlink("'+si+'")', 1); document.getElementById(si).style.color = '#FF4500';}
if   (bc == 101)
     {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)
{
document.getElementById(ui).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 status messages
var s4 = 'Click, to add The Art Clay Club to your list of favourites.';
var s5 = 'Click, to mail The Art Clay Club about anything on this page.';
