hasitdoneit="no"
colortheme=""

myString = new String(document.cookie)

if(myString.indexOf("dark")==0){colortheme="dark";}
if(myString.indexOf("green")==0){colortheme="green";}
if(myString.indexOf("orange")==0){colortheme="orange";}



if(document.cookie==""){if(hasitdoneit!="yes"){hasitdoneit="yes";
document.write("<link rel='STYLESHEET' type='text/css' href='../common.css'>");}}


if(colortheme=="dark"){
if(hasitdoneit!="yes"){hasitdoneit="yes";
document.write("<link rel='STYLESHEET' type='text/css' href='../common.css'>");}}

if(colortheme=="green"){
if(hasitdoneit!="yes"){hasitdoneit="yes";
document.write("<link rel='STYLESHEET' type='text/css' href='../common2.css'>");}}

if(colortheme=="orange"){
if(hasitdoneit!="yes"){hasitdoneit="yes";
document.write("<link rel='STYLESHEET' type='text/css' href='../common3.css'>");}}


if(hasitdoneit=="no"){;document.write("<link rel='STYLESHEET' type='text/css' href='../common.css'>");}

function colorchange() 
{
where=document.location.href;
document.cookie="";
document.cookie=document.frmcolor.color.value;
document.location.href=where;
}