//OS ¹öÁ¯ Ã¼Å©
function OSnVR(){
	var Ins_pf = navigator.platform;
	var Ins_av = navigator.appVersion;
	
	var Ins_os ="unknown";
	var Ins_os_bit = "32";
	var Ins_ie_bit = "32";
	var Ins_ie_ver = "7";
	
	if( Ins_replace(Ins_pf,"undefined") >= 0 || Ins_pf == "" ){
		Ins_os = "unknown" ;
	}
	else{
		Ins_os = Ins_pf ;
	}
	
	//windows
	if( Ins_replace(Ins_os,"Win32") >= 0 || Ins_replace(Ins_os,"Win64") >= 0){
		//os Á¾·ù
		if( Ins_replace(Ins_av,"NT 5.0")>=0 )				{	Ins_os = "Windows 2000"; 			}
		else if( Ins_replace(Ins_av,"NT 5.1")>=0 )	{	Ins_os = "Windows XP"; 				}
		else if( Ins_replace(Ins_av,"NT 5.2" )>=0 )	{	Ins_os = "Windows Server 2003"; 	}//XP x64
		else if( Ins_replace(Ins_av,"NT 6.0" )>=0 )	{	Ins_os = "Windows Vista"; 			}
		else if( Ins_replace(Ins_av,"NT 6.1" )>=0 )	{	Ins_os = "Windows 7"; 					}
		
		//ie Á¾·ù
		if( Ins_replace(Ins_av, "Trident/5.0")>=0 )			{ Ins_ie_ver = "9"; };
		else if( Ins_replace(Ins_av, "Trident/4.0")>=0 )	{ Ins_ie_ver = "8"; }
		else if( Ins_replace(Ins_av, "MSIE 6.0")>=0 )		{ Ins_ie_ver = "6"; }		
	}
	
	//os, ie bit 
	if( Ins_replace(Ins_av,"Win64;")>=0 ) {
		//64bit os, 64bit ie
		Ins_os_bit = "64";
		Ins_ie_bit = "64";
	}
	else  if( Ins_replace(Ins_av,"WOW64;")>=0 ) {
		//64bit os, 32bit ie
		Ins_os_bit = "64";
		Ins_ie_bit = "32";
	}
	
	if( Ins_os_bit == "64" && Ins_ie_bit == "64")
	{	
		alert("64bit IE´Â Áö¿øÇÏÁö ¾Ê½À´Ï´Ù.(32bit IE¿¡¼­¸¸ Áö¿øµÊ)\n°ü¸®ÀÚ¿¡°Ô ¹®ÀÇÇÏ½Ã±â ¹Ù¶ø´Ï´Ù.")
		//document.location.href="/";            
	}
    else if(Ins_os != "Windows 2000" && Ins_os != "Windows XP" 
		&& Ins_os != "Windows Server 2003" && Ins_os != "Windows Vista" 
		&& Ins_os != "Windows 7")
	{
		alert("°í°´´ÔÀÇ PC¿¡¼­´Â °¡ÀÔ ÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.\n°ü¸®ÀÚ¿¡°Ô ¹®ÀÇÇÏ½Ã±â ¹Ù¶ø´Ï´Ù.\n\n - Windows 2000\n - Windows XP\n - Windows Server 2003\n - Windows Vista\n - Windows 7\n¿¡¸¸ ¼³Ä¡ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.")
		//document.location.href="/";
	}
}

function Ins_replace(s,t){
	return s.indexOf(t);
}
