function makeflash(Url,Width,Height,m,s)
{                 
  document.writeln("<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=\"" + Width + "\" height=\"" + Height + "\">"); 
  document.writeln("<param name=\"movie\" value=\"" + Url + "\">"); 
  document.writeln("<param name=\"quality\" value=\"high\" />");     
  document.writeln("<param name=\"wmode\" value=\"transparent\">"); 
  document.writeln("<embed src=\"" + Url + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" + Width + "\"  height=\"" + Height + "\">"); 
  document.write("<param name=\"FlashVars\" value=\"m="+m+"&s="+s+"\">");	
  document.writeln("</object>");     
}

function open_admin()
{
	window.open("/bbs/admin/index.php")
}

<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

function resizeFrame(ifrm){
        var innerBody = ifrm.contentWindow.document.body;
  
  var innerHeight = innerBody.scrollHeight + (innerBody.offsetHeight - innerBody.clientHeight);
  var innerWidth = innerBody.scrollWidth + (innerBody.offsetWidth - innerBody.clientWidth);
  
  ifrm.style.height = innerHeight;
 // ifrm.style.width = innerWidth;

}


function open_fidelity(){
 window.open('../sub2/gallery.html', 'kapastudio', 'fullscreen=1,scrollbars=no');
 }
function open_product(){
 window.open('../sub6/book.html', 'kapastudio', 'fullscreen=1,scrollbars=no');
 }
/*function open_product(){
 location.href('../sub6/menu3.html');
 }*/