function color()
{


document.write("<style type=text/css>")

document.write("A.c1:link    {text-decoration: underline; font-weight: normal; color: FFFFFF}")
document.write("A.c1:visited {text-decoration: underline; font-weight: normal; color: FFFFFF}")
document.write("A.c1:active  {text-decoration: underline; font-weight: normal; color: FFFFFF}")
document.write("A.c1:hover   {text-decoration: underline; font-weight: normal; color: FF9933}")

document.write("A.c2:link    {text-decoration: underline; font-weight: normal; color: 660066}")
document.write("A.c2:visited {text-decoration: underline; font-weight: normal; color: 660066}")
document.write("A.c2:active  {text-decoration: underline; font-weight: normal; color: 660066}")
document.write("A.c2:hover   {text-decoration: underline; font-weight: normal; color: aa00aa}")

document.write("A.c3:link    {text-decoration: underline; font-weight: normal; color: 000080}")
document.write("A.c3:visited {text-decoration: underline; font-weight: normal; color: 000080}")
document.write("A.c3:active  {text-decoration: underline; font-weight: normal; color: 000080}")
document.write("A.c3:hover   {text-decoration: underline; font-weight: normal; color: 000080}")


document.write("</style>")

}


function footer()
{
document.write("Copyright &copy; 2007  Bin Hamoodah - Auto Division   Tel: +971 2 444 8888   Fax: +971 2 4449073  Email: auto@bha.ae")
document.title="Bin Hamoodah - Auto"
}




function changeImage(filename)
{
	document.mainimage.src = filename;
}


var arImages=new Array();
function Preload() {
 var temp = Preload.arguments; 
 for(x=0; x < temp.length; x++) {
  arImages[x]=new Image();
  arImages[x].src=Preload.arguments[x];
 }
}










var default1 = "Bin Hamoodah"
var text1 = "B 1";
var text2 = "B 2";
var text3 = "B 3";
var changeRate = 2000; // 1000 = 1 second
var messageNumber = 0;

function title() {
  if (messageNumber == 0) {
     document.title=default1;
    }
  else if (messageNumber == 1) {
     document.title=text1;
    }
  else if (messageNumber == 2) {
     document.title=text2;
     }
  else if (messageNumber == 3) {
     document.title=text3;
     messageNumber = 0;
     }

  messageNumber++;
 // setTimeout("title();",changeRate);

}

//changeStatus(); // leave here to run right away