//media
function writemedia(){
document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" id=\"mediatable\" ><tr><td>&nbsp;</td> <td><h1>Media Center</h1></td><td width=\"16\"></td></tr><tr><td colspan=\"3\"><h2>Videos</h2></td></tr><tr><td><a href=\"#\" onclick=\"MM_openBrWindow('decodrive.html','','width=340,height=265')\"><img src=\"images/media3.png\" width=\"16\" height=\"16\" border=\"0\" /></a></td><td colspan=\"3\"><p><a href=\"#\" onclick=\"MM_openBrWindow('decodrive.html','','width=340,height=265')\">Airmakeup featured on Deco Drive - Channel 7 News</a></p>   </td></tr><tr><td><a href=\"#\" onclick=\"MM_openBrWindow('sexyairlash.html','','width=340,height=292')\"><img src=\"images/media3.png\" width=\"16\" height=\"16\" border=\"0\" /></a></td><td colspan=\"2\"><p><a href=\"#\" onclick=\"MM_openBrWindow('sexyairlash.html','','width=340,height=292')\">Learn more about Sexy Airlash™</a></p></td></tr><tr><td colspan=\"3\"><h2>Audio</h2></td></tr><tr><td><a href=\"#\" onclick=\"MM_openBrWindow('audio1.html','','width=300,height=300')\"><img src=\"images/media3.png\" width=\"16\" height=\"16\" border=\"0\" /></a></td><td colspan=\"2\"><p><a href=\"#\" onclick=\"MM_openBrWindow('audio1.html','','width=300,height=300')\">Airmakeup introduced on the radio</a></p></td> </tr><tr><td><a href=\"#\" onclick=\"MM_openBrWindow('audio2.html','','width=300,height=300')\"><img src=\"images/media3.png\" width=\"16\" height=\"16\" border=\"0\" /></a></td><td colspan=\"2\"><p><a href=\"#\" onclick=\"MM_openBrWindow('audio2.html','','width=300,height=300')\">Cathy answers your calls live</a></p></td> </tr><tr><td><a href=\"#\" onclick=\"MM_openBrWindow('audio3.html','','width=300,height=300')\"><img src=\"images/media3.png\" width=\"16\" height=\"16\" border=\"0\" /></a></td><td colspan=\"2\"><p><a href=\"#\" onclick=\"MM_openBrWindow('audio3.html','','width=300,height=300')\">Cathy gives disc jockey a tattoo</a></p></td></tr><tr><td colspan=\"3\"><p>&nbsp;</p></td></tr><tr><td>&nbsp;</td><td><p align=\"right\"><a href=\"javascript:hidemedia();\">Minimize Media Center</a>&nbsp;</p></td><td><a href=\"javascript:hidemedia();\"><img src=\"images/media2.png\" width=\"16\" height=\"16\" border=\"0\" /></a></td></tr></table>");
}
function showmedia(){
	document.getElementById("mediaplay").style.display = "none"
	document.getElementById("mediacontainer").style.display = "block"
}
function hidemedia(){
		document.getElementById("mediaplay").style.display = "block"
	document.getElementById("mediacontainer").style.display = "none"
}
//
function openclose(div){
if(document.getElementById(div).style.display == "none"){
	document.getElementById(div).style.display = "block"
}else{
	document.getElementById(div).style.display = "none"
	}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//colors
var color = new Array()
var colortext = new Array()
for(i=1;i<80;i++){
color[i] = "images/products/colors/pics/"+i+".gif"
}
colortext[1] = "Alabaster Dream"
colortext[2] = "Blithe Spirit"
colortext[3] = "Cinnamon Lady"
colortext[4] = "Dark Egyptian"
colortext[5] = "Ebony"
colortext[6] = "Fair Female"
colortext[7] = "Graceful Grey"
colortext[8] = "Hollywood Tan"
colortext[9] = "Juvenile"
colortext[10] = "Light Beige II"
colortext[11] = "Light Beige"
colortext[12] = "Light Cocoa"
colortext[13] = "Light Tan"
colortext[14] = "Light Egyptian"
colortext[15] = "Medium  Tan"
colortext[16] = "Miami Mauve"
colortext[17] = "Midnight Blue"
colortext[18] = "Oriental"
colortext[19] = "Paprika"
colortext[20] = "Peaches"
colortext[21] = "Pure Purple"
colortext[22] = "Rave"
colortext[23] = "Rave II"
colortext[24] = "Sexy  Sable"
colortext[25] = "Soft  Beige"
colortext[26] = "Spring  Mauve"
colortext[27] = "White Wishes"
colortext[28] = "Medium Olive"
colortext[29] = "Dark Olive"
colortext[30] = "Black"
colortext[31] = "Fantasy Blue"
colortext[32] = "Fantasy Green"
colortext[33] = "Fantasy Red"
colortext[34] = "Yellow"
colortext[35] = "Bronze Fire"
colortext[36] = "Bronze Essence"
colortext[37] = "Dreaming Essence"
colortext[38] = "Frost"
colortext[39] = "Golden Slipper"
colortext[40] = "Aqua Essence"
colortext[41] = "Copper Essence"
colortext[42] = "Metallic Silver"
colortext[43] = "Metallic Steel"
colortext[44] = "Rose Silk Essence"
colortext[45] = "Opal Essence"
colortext[46] = "Sexy Sable"
colortext[47] = "Sexy Sable"
colortext[48] = "Sexy Sable"
colortext[49] = "Sexy Sable"
colortext[50] = "Sexy Sable"
colortext[51] = "Sexy Sable"
colortext[52] = "Sexy Sable"
colortext[53] = "Sexy Sable"
colortext[54] = "Sexy Sable"
colortext[55] = "Sexy Sable"
colortext[56] = "Sexy Sable"
colortext[57] = "Sexy Sable"
colortext[58] = "Sexy Sable"
colortext[59] = "Sexy Sable"
colortext[60] = "Unknown"
colortext[61] = "Miami Mauve"
colortext[62] = "Midnight Blue"
colortext[63] = "Dreaming"
colortext[64] = "Paprika"
colortext[65] = "Spring Mauve"
colortext[66] = "Peaches"
colortext[67] = "Rave"
colortext[68] = "Unknown"
colortext[69] = "Unknown"
colortext[70] = "Sexy Sable"
colortext[71] = "Sexy Sable"
colortext[72] = "Sexy Sable"
colortext[73] = "Sexy Sable"
colortext[74] = "Sexy Sable"
colortext[75] = "Sexy Sable"
colortext[76] = "Sexy Sable"
colortext[77] = "Sexy Sable"
colortext[78] = "Sexy Sable"
colortext[79] = "Sexy Sable"
colortext[80] = "Sexy Sable"
function opencolor(num){
document.images["colorpic"].src = color[num]
document.getElementById("colortxt").innerHTML = colortext[num]
document.getElementById("colors").style.display = "block"
}
function closecolors(){
document.getElementById("colors").style.display = "none"
}