$(document).ready(function(){
	
	$(document).ready(function(){
		$('li.submopen').hover(
			function() {
				$(this).addClass("active");
				$(this).find('ul').show();
			},
			function() {
				$(this).removeClass("active");        
				$(this).find('ul').hide();
			}
		);
		$('li.submopen').click(
			function() {
				$(this).addClass("active");
				$(this).find('ul').show();
			},
			function() {
				$(this).removeClass("active");        
				$(this).find('ul').slideUp('slow');
			}
		);
	});
	

	$(document).ready(function(){
		$("a.plan_btn").click(function () {
			  $("#plan").slideToggle(800);
			  $("#iconmenu").toggle();
			  $(this).toggleClass("close");
			});
	//	$("a.close").click(function () {
	//		  $("div.phoneopen").hide(200);
	//	});
	});

	function screenSize() {
    var w, h; // ????????? ??????????, w - ?????, h - ??????
    w = (window.innerWidth ? window.innerWidth : (document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.offsetWidth));
    h = (window.innerHeight ? window.innerHeight : (document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.offsetHeight));
    return {w:w, h:h};
	};
/// 


}); 

function getBrowserInfo() {
    var t,v = undefined;
   
    if (window.chrome) t = 'Chrome';
    else if (window.opera) t = 'Opera';
    else if (document.all) {
        t = 'IE';
        var nv = navigator.appVersion;
        var s = nv.indexOf('MSIE')+5;
        v = nv.substring(s,s+1);
    }
    else if (navigator.appName) t = 'Netscape';
   
    return {type:t,version:v};
};
