function obj_swf(swf, w, h, color, name, play, loop)
{
	document.write("<div style=\"z-index:-1; background:"+color+"; width:"+w+"px; height:"+h+"px\">\n");
	document.write("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\""+w+"\" height=\""+h+"\" id=\""+name+"\" align=\"middle\" play=\""+play+"\" loop=\""+loop+"\">\n");
	document.write("<param name=\"allowScriptAccess\" value=\"sameDomain\" />\n");
	document.write("<param name=\"allowFullScreen\" value=\"false\" />\n");
	document.write("<param name=\"movie\" value=\""+swf+"\" />\n");
	document.write("<param name=\"quality\" value=\"high\" />\n");
	document.write("<param name=\"wmode\" value=\"transparent\" />\n");
	document.write("<param name=\"bgcolor\" value=\""+color+"\" />\n");
	document.write("<param name=\"play\" value=\""+play+"\" />\n");
	document.write("<param name=\"loop\" value=\""+loop+"\" />\n");
	document.write("<embed src=\""+swf+"\" quality=\"high\" bgcolor=\""+color+"\" width=\""+w+"\" height=\""+h+"\" name=\""+name+"\" align=\"middle\" play=\""+play+"\" loop=\""+loop+"\" allowScriptAccess=\"sameDomain\" allowFullScreen=\"false\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n");
	document.write("</object></div>\n");
}

function obj_swf_______(swf, w, h, color, name, play)
{
	document.write("<div style=\"z-index:-1; background:"+color+"; width:"+w+"px; height:"+h+"px\">\n");
	document.write("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" id=\""+name+"\" name=\""+name+"\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\""+w+"\" height=\""+h+"\" align=\"middle\" play=\""+play+"\" loop=\"false\">\n");
	document.write("<param name=\"movie\" value=\""+swf+"\" />\n");
	document.write("<param id=\""+name+"\" value=\""+name+"\"> />\n");
	document.write("<param name=\""+name+"\" value=\""+name+"\"> />\n");
	document.write("<param name=\"quality\" value=\"high\" />\n");
	document.write("<param name=\"wmode\" value=\"transparent\" />\n");
	document.write("<param name=\"bgcolor\" value=\""+color+"\" />\n");
	document.write("<param name=\"play\" value=\""+play+"\" />\n");
	document.write("<param name=\"loop\" value=\"false\" />\n");
	document.write("<param name=\"allowScriptAccess\" value=\"sameDomain\" />\n");
	document.write("<embed src=\""+swf+"\" id=\""+name+"\" name=\""+name+"\" swliveconnect=\"true\" quality=\"high\" bgcolor=\""+color+"\" width=\""+w+"\" height=\""+h+"\" align=\"middle\" play=\""+play+"\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n");
	document.write("</object></div>\n");
}



function change_pic(picName, imgName)
{
	if (document.images)
	{
		imgOn = eval(imgName + '.src');
		document[picName].src = imgOn;
	}
}


/***********************************************
* Highlight Table Cells Script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/

//Specify highlight behavior. "TD" to highlight table cells, "TR" to highlight the entire row:
var highlightbehavior="TR"

var ns6=document.getElementById&&!document.all
var ie=document.all

function contains_ns6(master, slave) { //check if slave is contained by master
while (slave.parentNode)
if ((slave = slave.parentNode) == master)
return true;
return false;
}

function changeto(e,highlightcolor){
source=ie? event.srcElement : e.target
if (source.tagName=="TABLE")
return
while(source.tagName!=highlightbehavior && source.tagName!="HTML")
source=ns6? source.parentNode : source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function changeback(e,originalcolor){
if (ie&&(event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")||source.tagName=="TABLE")
return
else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore"))
return
if (ie&&event.toElement!=source||ns6&&e.relatedTarget!=source)
source.style.backgroundColor=originalcolor
}

function changefto(e,highlightcolor,highlightfcolor){
source=ie? event.srcElement : e.target
if (source.tagName=="TABLE")
return
while(source.tagName!=highlightbehavior && source.tagName!="HTML")
source=ns6? source.parentNode : source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
if (source.style.color!=highlightfcolor&&source.id!="ignore")
source.style.color=highlightfcolor
}

function changefback(e,originalcolor,originalfcolor){
if (ie&&(event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")||source.tagName=="TABLE")
return
else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore"))
return
if (ie&&event.toElement!=source||ns6&&e.relatedTarget!=source)
source.style.backgroundColor=originalcolor
source.style.color=originalfcolor
}


