function flash(Str1, Str2, Str3){
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="logo" align="middle" width="'+Str2+'" height="'+Str3+'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id=ShockwaveFlash1>'
+'<param name="movie" value="'+Str1+'">'
+'<param name="quality" value="high">'+'<param name="WMode" value="Transparent">'
+'<embed src="'+Str1+'" quality="high" name="main" align="middle" pluginspage="http://www.macromedia.com/go/getflashplayer" width="'+Str2+'" height="'+Str3+'" type="application/x-shockwave-flash"></embed>'
+'</object>');
}


var win1Open = null

function displayImage(picName, windowName, windowWidth, windowHeight){
return window.open(picName,windowName,"toolbar=no,scrollbars=no,resizable=no,width=" + (parseInt(windowWidth)+20) + ",height=" + (parseInt(windowHeight)+15)) 
}

function winClose(){
if(win1Open != null) win1Open.close() 
}

function doNothing(){}

function displayImage(picName, windowName, windowWidth, windowHeight){
var winHandle = window.open("" ,windowName,"toolbar=no,scrollbars=no,resizable=no,width=" + windowWidth + ",height=" + windowHeight)
if(winHandle != null){
var htmlString = "<html><head><title>Picture</title></head>" 
htmlString += "<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>"
htmlString += "<a href=javascript:window.close()><img src=" + picName + " border=0 alt=??></a>"
htmlString += "</body></html>"
winHandle.document.open()
winHandle.document.write(htmlString)
winHandle.document.close()
} 
if(winHandle != null) winHandle.focus()
return winHandle
}

function TopNavi() {
document.writeln("<table width='250' border='0' cellpadding='0' cellspacing='0'>");
document.writeln("<tr> ");
document.writeln("  <td><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='250' height='600'>");
document.writeln("            <param name='movie' value='flash/navigation.swf'>");
document.writeln("            <param name='quality' value='high'><param name='flashvars' value='main="+main+"&sub="+sub+"'>");
document.writeln("            <embed src='flash/navigation.swf' flashvars='main="+main+"&sub="+sub+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='250' height='600'></embed>");
document.writeln("          </object></td>");
document.writeln("</tr>");
document.writeln("</table>");
}

