
function viewf(s,d,w,h,t){
        return "<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="+w+" height="+h+" id="+d+"><param name=wmode value="+t+" /><param name=movie value="+s+" /><param name=quality value=high /><embed src="+s+" quality=high wmode="+t+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" width="+w+" height="+h+"></embed></object>";
}


function documentwrite(src){
        document.write(src);
}


function setcode(target, code){
        target.innerHTML = code;
}


function bluring(){ 
if(event.srcElement && (event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG")) document.body.focus(); 
} 
document.onfocusin=bluring; 

// BrowserÀÇ Width¸¦ ½Äº°ÇÑ´Ù.

function screenSizeWidth() {
 if (self.screen) { 
  return screen.width ;  
  }  
}

// BrowserÀÇ Height¸¦ ½Äº°ÇÑ´Ù.
function screenSizeHeight() {
 if (self.screen) { 
  return screen.height ;  
  }  
}

// Chromeless Full Screen Window Browser¸¦ OpenÇÑ´Ù.
function openStarHomeWindow(sectionname) {   
  documentURL = "../gallery/gallery.html?section="+sectionname ; //¿­°íÀÚÇÏ´Â ¹®¼­ÀÇ À§Ä¡
  openBrowserName = "mammom" ;  //ºê¶ó¿ìÀú¸¦ ÁöÁ¤ÇÑ ÀÌ¸§
  intWidth = screenSizeWidth() ;
  intHeight = screenSizeHeight() ;
  intXOffset = 0 ;
  intYOffset = 0 ;
  obwindow = window.open(documentURL, openBrowserName, "fullscreen=yes, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no") ;
  //obwindow.resizeTo(intWidth, intHeight) ;
  //obwindow.moveTo(intXOffset, intYOffset) ;
}

