
/* PNGÆÄÀÏ ¹è°æ³¯¸². */
function setPng24(obj) 
	{
		obj.width=obj.height=1;
		obj.className=obj.className.replace(/\bpng24\b/i,""); 
		obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\""+ obj.src +"\",sizingMethod=\"image\");"
		obj.src ="blank.gif";
		return "";
	}



// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 9;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 28;
// -----------------------------------------------------------------------------



/* FLASH Include */
function ShowFlash(url, width, height){
        document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="' + width + '" height="' + height + '" VIEWASTEXT>');
        document.write('<param name="movie" value="' + url + '">');
        document.write('<param name="quality" value="high">');
        document.write('<embed src="' + url + '" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>');
        document.write('</object>');
}

function ShowFlash2(url, width, height){
        document.write(' <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="' + width + '" height="' + height + '" VIEWASTEXT>');
        document.write('<param name="movie" value="' + url + '">');
        document.write('<param name="quality" value="high">');
		document.write('<param name="wmode" value="transparent">');
        document.write('<embed src="' + url + '" wmode="opaque" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>');
        document.write('</object>');
}

 


function MM_goToURL() {
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

/*Áñ°ÜÃ£±â Ãß°¡ */
function myFavorite() { 
window.external.AddFavorite('http://www.chfn.co.kr', 'Fashion & More') 
}




/* ¹®¼­ÀüÃ¼ 100% */
function center(){ 
	var objBody = document.body;

	var ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight);
   document.all["POPSchedule"].style.width = 800;
   document.all["POPSchedule"].style.height = 500;

   	document.all.myframe.style.visibility = "visible";
	document.all.myframe.style.width= '100%';
	document.all.myframe.style.height = ifrmHeight;
   //document.all["POPSchedule"].style.height = document.documentElement.scrollHeight;

} 

//ÇÃ·¡½¬ ÆË¾÷

function myPOPUP(){
	//document.all["POPSchedule"].style.width = '100%';
	//document.all["POPSchedule"].style.height = '100%';
	center();
	thisMovie('popWeek_project').remort();
}
function thisMovie(movieName) {
    if (navigator.appName.indexOf("Microsoft") != -1) {
        return window[movieName]
    }
    else {
        return document[movieName]
    }
}
function flashclose(){
	   document.all["POPSchedule"].style.width = 0;
	   document.all["POPSchedule"].style.height = 0;
	   document.all.myframe.style.visibility = "hidden";
}



//¼­¹ö½Ã°£ ÄíÅ° °¡Á®¿À±â 

function getCookie(Name) {
 var search = Name + "=";

 if (document.cookie.length > 0) {
  offset = document.cookie.indexOf(search);
  if (offset != -1) {
   offset += search.length;
   end = document.cookie.indexOf(";", offset);
   if (end == -1) end = document.cookie.length;
    return unescape(document.cookie.substring(offset, end));
  }
 }
 return "";
}



