// BrowserÀÇ ÇöÀç ÇØ»óµµ¿Í VersionÀ» CheckÇÑ´Ù.
function browserVersion() {
	if(navigator.appName != "Netscape") {
		return "Explorer" ;
	} else {
		return "Netscape" ;
	}
}

function screenSize() {
	if (self.screen) { 
		width = screen.width ;
		height = screen.height ;
 	} 	
}
function screenSizeWidth() {
	if (self.screen) { 
		return screen.width ;		
 	} 	
}
function screenSizeHeight() {
	if (self.screen) { 
		return screen.height ;		
 	} 	
}

// Window Titleless Browser¸¦ OpenÇÑ´Ù.
function openVRWindow() {		
	sizeWidth = screen.width ;
	if(sizeWidth < 1024) {
		alert("Virtual Tour¸¦ º¸½Ã·Á°Åµç ¸ð´ÏÅÍ ÇØ»óµµ¸¦ 1024*768 ÀÌ»óÀ¸·Î ¼³Á¤ÇÏ¿© ÁÖ½Ê½Ã¿À.") ;
	} else {
		documentURL = "../vr/flashmain.html" ;
		openBrowserName = "flashmain" ;
		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) ;
	}
}

//  open new Window from Flash Navigation
function openWindow (p1,p2,p3) {
	var theURL = p1 ;
	newWidth = p2 ;
	newHeight = p3 ;
	window.open(theURL,"","width="+newWidth+" ,height="+newHeight) ;
}
