      function ImageRollover(img) {
        //var img = event.srcElement;

        try {
          if(img.src.search(/_1(\.(gif|jpg))$/) != -1) {
            img.src = img.src.replace(/_1(\.(gif|jpg))$/, "_2$1");
          } else {
            img.src = img.src.replace(/_2(\.(gif|jpg))$/, "_1$1");
          }
        } catch(e) {
          window.alert(e);
        }
      }


      function ImageOver(img) {
        try {
          if(img.src.search(/_1(\.(gif|jpg))$/) != -1) {
            img.src = img.src.replace(/_1(\.(gif|jpg))$/, "_2$1");
          }
        } catch(e) {
        }
      }


      function ImageOut(img) {
        try {
          if(img.src.search(/_2(\.(gif|jpg))$/) != -1) {
            img.src = img.src.replace(/_2(\.(gif|jpg))$/, "_1$1");
          }
        } catch(e) {
        }
      }

// ecatalog ////////////////////////////////////////////////////////////////
/*
	function chkProductBrowser(){
		var browser, version, platform;
		var msiestart, msieend, msiestring, msiearray[], msieversion[2], msplatform[3];

		if(navigator.appName==""){ 
			browser="No browser,"; 
		} else { 
			browser=navigator.appName; 
		} 

		version = parseFloat(navigator.appVersion); 
		if ((Math.round(parseFloat(navigator.appVersion)*100)) - (parseInt(navigator.appVersion) * 100) == 0) { 
				version = version + ".0"; 
		} 

		if (navigator.appName.substring(0,9) == "Microsoft") { 
				msiestart = (navigator.appVersion.indexOf('(') + 1); 
				msieend = navigator.appVersion.indexOf(')'); 
				msiestring = navigator.appVersion.substring(msiestart, msieend); 
				msiearray = msiestring.split(";");		// compatible, MSIE 6.0, Windows NT 5.0, .NET CLR 1.0.3705
				msieversion = msiearray[1].split(" ");	// MSIE, 6.0
				version = msieversion[2];				// 6.0
				msplatform = msiearray[2].split(" ");		// Windows, NT, 5.0
				platform = msplatform[2];
		}
		
		if (browser=="Microsoft Internet Explorer"){

			if (version>5.5){
				//lLayer3.style.visibility="visible";	
			}else{
				//spanBrowser.innerHTML="Please check your IE Version."
			}
		}
		//var tStr=browser + "." + version;
		//return tStr;
		return msiearray;
	}
	*/
///////////////////////////////////////////////////////////////////////////////////////////////


      function ProductCatalog() {
      //alert(navigator.appVersion);	
      //alert(navigator.appVersion);
      //var catalog = window.open('/product/catalog.asp', 'product_catalog', 'width=700, height=400, toolbar=0, location=0, directories=0, status=0, menubar=0, resizable=0');

      var catalog = window.open('/product/catalog.asp', 'product_catalog', 'fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
      catalog.resizeTo(800, 606);
      catalog.moveTo((window.screen.width - 800) / 2, (window.screen.height - 600) / 2);
      }


      function ProductCategory(category) {
        var catalog = window.open('/product/category.asp?category=' + escape(category), 'product_catalog', 'fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
        catalog.resizeTo(800, 606);
        catalog.moveTo((window.screen.width - 800) / 2, (window.screen.height - 600) / 2);
      }


      function ProductModel(model) {
        false;
        //var catalog = window.open('/product/model.asp?model=' + escape(model), 'product_catalog', 'fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
        //catalog.resizeTo(800, 606);
        //catalog.moveTo((window.screen.width - 800) / 2, (window.screen.height - 600) / 2);
      }

      //Domss Main  Cyber Fair  2002/11/03 Gina
      function CyberFair() {
        var cyberfair = window.open('/CyberEvent/index.html', 'CyberFair', 'width=800,height=589,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0');
        //cyberfair.resizeTo(760, 575);
        cyberfair.moveTo((window.screen.width - 800) / 2, (window.screen.height - 600) / 2);
      }
      // 
      
      //Domss Main Featured Product 2002/11/07 Gina
      function FeaturedLink(e) {
        var cyberfair = window.open('/CyberEvent/Featured' + e + '.htm', 'CyberFair', 'width=800,height=589,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0');
        //cyberfair.resizeTo(760, 575);
        cyberfair.moveTo((window.screen.width - 800) / 2, (window.screen.height - 600) / 2);
      }    
      //
      
      function goURL(n) {
        switch(n) {
          case 1:
            window.location.href = "category.asp?category=TC&background=" + escape(background);
            break;
          case 2:
            window.location.href = "category.asp?category=MC&background=" + escape(background);
            break;
          case 3:
            window.location.href = "model.asp?model=ACE-DB+Series&background=" + escape(background);
            break;
          case 4:
            window.location.href = "model.asp?model=MFG.+Solutions&background=" + escape(background);
            break;
        }
      }


      function PollResult(poll) {
        window.open("/main/poll/result.asp?poll=" + poll, "poll_result", "width=190,height=295");
      }

      //--- Modify (20081002_CRYS)
      function NetworkCustomer(customer) {
        //window.open("/network/customers_detail.asp?country="+escape(country)+"&company="+escape(company), "customers_detail", "width=450,height=460,location=no,directories=no,menubar=no,toolbar=no,status=no,scrollbars=no,resizable=no");
        window.open("/network/customers/customers_detail.htm?customer="+escape(customer), "customers_detail", "width=450,height=460,location=no,directories=no,menubar=no,toolbar=no,status=no,scrollbars=no,resizable=no");
      }


      function ExhibitionFair(fair) {
        window.open("/exhibition/fairs/annual_detail.asp?fair="+escape(fair), "exhibition_fair", "width=450,height=460,location=no,directories=no,menubar=no,toolbar=no,status=no,scrollbars=no,resizable=no");
      }


      function ConfirmRedirect(msg, url) {
        if(window.confirm(msg))
          window.location.href = url;
      }
      
      //CyberTraining 2003/06/23 Fanta
      function CyberTraining() {
        var ct = window.open('/dealer/as/training/index.html', 'cyber_training', 'fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
		    ct.resizeTo(800, 580);
		    ct.moveTo((window.screen.width - 800) / 2, (window.screen.height - 580) / 2);
      }

      function CyberTrainingTheme(theme) {
        if (theme == 'MC') {
          window.alert('Coming Soon...');
        } else {
          var ct = window.open('/dealer/as/training/theme.asp?theme=' + escape(theme), 'cyber_training', 'fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
          ct.resizeTo(800, 580);
          ct.moveTo((window.screen.width - 800) / 2, (window.screen.height - 580) / 2);
        }
      }

      function CyberTrainingModel(theme, model) {
        var ct = window.open('/dealer/as/training/model.asp?theme=' + escape(theme) + '&model=' + escape(model), 'cyber_training', 'fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
		    ct.resizeTo(800, 580);
		    ct.moveTo((window.screen.width - 800) / 2, (window.screen.height - 580) / 2);
      }

      function CyberTrainingArticle(theme, model, article) {
        var ct = window.open('/dealer/as/training/article.asp?theme=' + escape(theme) + '&model=' + escape(model) + '&article=' + escape(article), 'cyber_training', 'fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
		    ct.resizeTo(800, 580);
		    ct.moveTo((window.screen.width - 800) / 2, (window.screen.height - 580) / 2);
      }

/* default Homepage setting START */

function set_homepage(x, url) { 
    if (navigator.appVersion.indexOf('MSIE 3') != -1 || navigator.appVersion.indexOf('MSIE 4') != -1) { 
        confirm('Do you want to set your browser`s default home page DOMSS.com?'); 
        top.location = 'http://www.domss.com'; 
    } 
    else if (navigator.appVersion.indexOf('MSIE 5') != -1) { 
        x.style.behavior = 'url(#default#homepage)'; 
        x.setHomePage(url);    
        var ret; 
        ret = x.isHomePage(url); 
        if (ret==true) 
            open('http://www.domss.com','_top');// 
	} 
} 

/* default Homepage setting  END */


function ExhibitionInvitation (exhibition, year, w, h){

  window.open("/exhibition/" + exhibition + "/" +year + "/invitation" + year + ".html", "ExhibitionPopup", "width=750, height=600, top=0, left=0,scrollbars=1, resizable=0")
    
}

// DIF2005 Accompiment
function ExhibitionAccompliment (exhibition, year){
  window.open("/exhibition/" + exhibition + "/" +year + "/Accompliment" + year + ".html", "AccomplimentPopup", "width=1090, height=550, scrollbars=0, resizable=0")
}

// 
function ExhibitionPopup (exhibition, year, w, h){
  if (w=="" || h=="") {
    w = 300;
    h = 300;
  }
  window.open("/exhibition/" + exhibition + "/popup" + year + ".html", "ExhibitionPopup", "width="+w+", height="+h+", top=0, left=0")
    
}

// DIMF2003 
function dimf2003() {
	var cimt = window.open('/exhibition/dimf/dimf2003/main.html', 'dimf2003', 'fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
	cimt.resizeTo(1024, 768);
	cimt.moveTo((window.screen.width - 1024) / 2, (window.screen.height - 768) / 2);
}

// CIMT2003 
function CyberCIMT() {
  var cimt = window.open('/cimt/cimt.asp', 'cyber_CIMT', 'fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
  cimt.resizeTo(800, 600);
  cimt.moveTo((window.screen.width - 800) / 2, (window.screen.height - 650) / 2);
}

// Exhibition Popup goes to the Exhibition Menu
  function gotoExhibition(exhibition) {
    window.opener.location.href = "/exhibition/" + exhibition;
    window.close();
  }

// EMO2003
function EMO2003() {
	var emo = window.open('/exhibition/emo/emo2003/main.asp', 'emo2003', 'fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
	emo.resizeTo(1024, 788);
	emo.moveTo((window.screen.width - 1024) / 2, (window.screen.height - 788) / 2);
}


//E-Catalog 
function OpenEcatalog(model) {
  var top, left, width=1040, height=768;
  top = screen.height/2 - height/2;
  left = screen.width/2 - width/2;
  var TrueEBook = window.open("/customer/product/ecatalog/catalog.asp?catalog=" + escape(model), "TrueEBook",
  "left=" + left + ", " +
  "top=" + top + ", " +
  "width=" + width + ", " +
  "height=" + height + ", " +
  "toolbar=no, " +
  "location=no, " +
  "directories=no ," +
  "status=no ," +
  "menubar=no, " +
  "scrollbars=no, " +
  //"alwaysRaised=1, " +    
  //"alwaysLowered=0, " + 
  //"fullscreen=1, " +    
  //"channelmode=1, " +  
  //"dependent=1, " + 
  "resizable=yes" );
  TrueEBook.focus();
}

function goMailing() {
  location.href = "/customer/main/account/account.asp"
	//window.open("/main/mailing/subscribe.asp", "mailing", "width=450, height=430, toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=auto, resizable=0");
}

function systemNotice() {
  window.open("/main/service/notice.asp", "systemNotice", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0, width=414, height=414");
}

function OptimalSolution() {
  window.open("/main/company/osc/index.asp", "osc", " width=860, height=700,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1");
}

function CIMT2005() {
  window.location.href = "/exhibition/cimt/cimt_2005.asp";
}

function PPTViewer(ppt, title) {
  var w = 800;
  var h = 570;
  var aw = (screen.width - w) / 2; 
  var ah = (screen.height - h) / 2; 

  ppt=window.open("/view-ppt/?ppt=" + ppt + "&title=" + title, "ppt","resizable=1 width=" + w + " height=" + h + " top=" + ah + " left=" + aw);
  ppt.focus();
  
}

/* Fixed Window */
function OpenFixedWindow(url, wName, width, height) {
  window.open(url, wName, "width=" + width + ", height=" + height + ", location=no, directories=no, menubar=no, toolbar=no, status=no, scrollbars=no, resizable=no");
}

function Go_Dimf() {
  window.location.href = "/exhibition/dimf/";
}

function Go_DimfTheme() {
  window.open("http://" + document.domain + "/exhibition/dimf/dimf2005", 'dimf2005_theme', 'fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0');
}

function dimf2005_open_swf() {
  window.open("http://" + document.domain + "/exhibition/dimf/start.swf","","width=920 height=600");
}

function dimf2007_open_pdf() {
  window.open("http://" + document.domain + "/exhibition/dimf/DIMF2007_fair_0705SP.pdf","","menubar=0 resizable=1");
}

function dimf2005_open_pdf() {
  window.open("http://" + document.domain + "/exhibition/dimf/2005DIMF_fair0526.pdf","","menubar=0 resizable=1");
}


function EMO2005_open_pdf() {
  window.open("http://" + document.domain + "/exhibition/emo/EMO_Fair_050822.pdf","","menubar=0 resizable=1");
}

// Flash
function Flash(url, width, height, wmode) {
  wmode = (wmode) ? wmode : "transparent";

  var buffer;

  buffer =  "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" ";
  buffer += "codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" ";
  buffer += "width=" + width + " "; 
  buffer += "height=" + height + ">";
  buffer += "<param name=\"wmode\" value=" + wmode + " />";
  buffer += "<param name=\"movie\" value=" + url + " />";
  buffer += "<param name=\"quality\" value=\"high\" />";
  buffer += "<embed src=" + url + " ";
  buffer += "quality=\"high\" ";
  buffer += "wmode=" + wmode + " ";
  buffer += "type=\"application/x-shockwave-flash\" ";
  buffer += "pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" ";
  buffer += "width=" + width + " ";
  buffer += "height=" + height + ">";
  buffer += "</embed></object>";

  document.write(buffer);
}

// MediaPlayer
function MediaPlayer(id, url, width, height, parameter) {
  var clsid = "clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95"; // WM ver. 7~10 Object ID
  var codebase = "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,0701";
  var param = Array();
  var names = Array();
  var value = Array();
  var parameters = "";

  param = parameter.split(","); // autostart=yes, uimode=none, valume=80
  
  for(var i = 0; i < param.length; i++) {
    var div = param[i].split("=");
    names = div[0].replace(/(^\s*)|(\s*$)/g, "");
    value = div[1].replace(/(^\s*)|(\s*$)/g, "");
    parameters += "<param name='" + names + "' value='" + value + "'>";
  }

  var buffer;

  buffer =  "<object classid=" + clsid + " codebase=" + codebase + " ";
  buffer += "id=" + id + " name=" + id + " ";
  buffer += "width=" + width + " height=" + height + ">";
  buffer += "<param name=\"url\" value=" + url + ">";
  buffer += parameters;
  buffer += "</object>";

  document.write(buffer);
}


/* Quick Launcher Scroll ***************************************** */
function check_scrollmove() {
  var scroll_pixel, div_pixel, gtpos, gbpos, loop, moving_spd;
  var top_margin = 165;    
  var top_margin2 = 213;   
  var speed = 20;           
  var speed2 = 15;          
  scroll_pixel = document.body.scrollTop;
  gtpos = document.body.scrollTop+top_margin;
  gbpos = document.body.scrollTop+top_margin2;
  
  if(quickMenu2.style.pixelTop < gtpos) {
    moving_spd = (gbpos-quickMenu2.style.pixelTop)/speed;
    quickMenu2.style.pixelTop += moving_spd;
  }
  if(quickMenu2.style.pixelTop > gtpos) {
    moving_spd = (quickMenu2.style.pixelTop-gtpos)/speed;
    quickMenu2.style.pixelTop -= moving_spd;
  }
  loop = setTimeout("check_scrollmove()",speed2);
}

function moving_control() {
  var moving_stat = 1;     
  
  if(!moving_stat) {
    check_scrollmove(); moving_stat = 1;
  }else {
    clearTimeout(loop); moving_stat = 0; quickMenu2.style.pixelTop = top_margin;
  }
}

function ComingSoon()
{
	window.alert("Coming Soon")
}

//080416 script start/ starbell
 function View(img){
      window.open("image.asp?image=images/" + img , "view", "width=100, height=100, toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0");
    }

//080701 customer support main script /crys
  function modelS(selObj)  {
    document.board_fm.action="";
    document.board_fm.submit();
  }

  function golist()  {
    if(document.board_fm.series_id.value=="") {
        alert('Please select one of product series.');
        return;
    }	
    document.board_fm.action="/customer/product/optimized/recount.asp";
    document.board_fm.submit();
  } 

  // dealer webzine
function popupOpen(no)
	{
	 var gourl= "/dealer/marketing/webzine/webzine_pop.htm?article="+no;
		 window.open(gourl,"catalog",'width=800, height=600 ,left=0,top=0,toolbar=no,menubar=no,location=no,scrollbars=yes,status=no');
	}  


//model select
function choicemodel(num){
	var form = document.board_fm
	if (!form.modelname01.value)
	{
		alert("Please select a model.");		
		return false;
	}
		document.board_fm.target="_self";
		document.board_fm.action="";
		document.board_fm.submit();
	}

//model select02
function modelselect(num){
	var form = document.form
	if (!form.model.value)
	{
		alert("Please select a model.");		
		return false;
	}
		form.target="_self";
		form.action="";
		form.submit();
	}
//blink check
function CheckStr(strOriginal, strFind, strChange)
{
	var position, strOri_Length;
	position = strOriginal.indexOf(strFind); 
    
	while (position != -1){
		strOriginal = strOriginal.replace(strFind, strChange);
		position = strOriginal.indexOf(strFind);
	}

	strOri_Length = strOriginal.length;
	return strOri_Length;
}


//new.popup
function pop_view(pageurl,wid,hei){
  window.open(pageurl , "popup", "width="+wid+", height="+hei+", toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0");
}

function open_Window(theURL,winName,myWidth, myHeight, isCenter) { //v3.0
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;

    style= "'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0, width=" + myWidth + ",height=" + myHeight + ",top=" + myTop +",left=" + myLeft + "'";

  }
  window.open(theURL,winName,style);
}

////////////////////////////////////////////
//main flach select
////////////////////////////////////////////
	/*function MainGoUrl(n) {
        switch(n) {
		  case 1:
			window.location.href = "/exhibition/cimes/2010/?catenum=050604&infonum=6	"				
			break;
		  case 2:
			window.location.href = "/customer/product/model/?catenum=040101&infonum=1&model=104|126"	
			break;
		  case 3:
			window.location.href = "/customer/product/model/?catenum=040101&infonum=1&model=103|129"			
			break; 
        }
      }
	  */
	function MainGoUrl(n) {
        switch(n) {
		  case 1:			  
			window.location.href = "/customer/product/model/main.htm?model=100|138"							
			break;
		  case 2:
			window.location.href = "/customer/product/model/?model=107|136"						
			break;
		  case 3:
			window.location.href = "/customer/product/model/?model=108|133"					
			break;
        }
      }//(WSY_20100528)

////////////////////////////////////////////
//Optimized Model Search
////////////////////////////////////////////
  function viewgo(val)  {
		//document.board_fm.action="/customer/product/model/?model="+val
    document.board_fm.model.value = val;
    document.board_fm.action="/customer/product/model/";

    document.board_fm.submit();
	}

  function cataview(val) {
		window.open('/customer/product/ecatalog/catalog.asp?catalog='+val,'pop_up','width=1040, height=768');
	}

////////////////////////////////////////////
//Set Cookis 1Day(survey)
////////////////////////////////////////////
function GetCookie(name) {
  var nameOfCookie = name + "="; 
  var x = 0; 
  while ( x <= document.cookie.length ) {
    var y = (x+nameOfCookie.length); 
    if ( document.cookie.substring( x, y ) == nameOfCookie ) { 
      if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) 
        endOfCookie = document.cookie.length; 
      return unescape( document.cookie.substring( y, endOfCookie ) ); 
    } 
    x = document.cookie.indexOf( " ", x ) + 1; 
    if ( x == 0 ) 
      break; 
  } 
  return ""; 
}

function SetCookie(name, value, expiredays)
{
	var todayDate = new Date();
	todayDate.setDate(todayDate.getDate() + expiredays);
	document.cookie = name + "=" + escape(value) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}

function NoView(pop, expiredays) { 
	SetCookie(pop, "done" , expiredays); 
	self.close(); 
}

function Open_Popup(pop, width, height) {
  if (GetCookie(pop) != "done") { //SetCookie(pop, "done", 1)
    window.open("http://domss.doosaninfracore.com/mydomss/dealer/mysurvey/question.htm?url=" + pop , pop, "width=" + width + ",height=" + height + ",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=2,resizable=0");
  }
}
function Open_Popup02(pop, width, height) {
  if (GetCookie(pop) != "done") { //SetCookie(pop, "done", 1)
    window.open("http://domss.doosaninfracore.com/mydomss/dealer/mysurvey/question.htm?url=" + pop , "popview", "width=" + width + ",height=" + height + ",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=2,resizable=0");
  }
}
function Open_Review(pop, width, height) {
    window.open("http://domss.doosaninfracore.com/mydomss/dealer/mysurvey/review.htm?Item=" + pop , pop, "width=" + width + ",height=" + height + ",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=2,resizable=0");
}

/* Check Length of Input text (20091112_CRYS) ***************************************** */
function chkLength(field, max_length, form_id){
  x = field.value.length;
  if (x == max_length){
    alert("Maximum length exceeded");
    form_id.focus();
  }
}

/* Open Popup(ad.) window (20100325_CRYS) ***************************************** */
function GetCookie02(Name) {
  var search = Name + "="
  if (document.cookie.length > 0) { // ÄíÅ°°¡ ¼³Á¤µÇ¾î ÀÖ´Ù¸é
    offset = document.cookie.indexOf(search)
    if (offset != -1) { // ÄíÅ°°¡ Á¸ÀçÇÏ¸é
      offset += search.length
      // set index of beginning of value
      end = document.cookie.indexOf(";", offset)
      // ÄíÅ° °ªÀÇ ¸¶Áö¸· À§Ä¡ ÀÎµ¦½º ¹øÈ£ ¼³Á¤
      if (end == -1)
        end = document.cookie.length
      return unescape(document.cookie.substring(offset, end))
    }
  }
}

function SetCookie02(Name, value, exp) { // popup ¿ë (exp: ½Ã°£) (20100325)
  var expires = new Date();
  expires.setTime(expires.getTime() + 1000 * 3600 * exp);
  document.cookie = Name + "=" + escape (value) + "; path=/; expires=" + expires.toGMTString();
  window.close();
}

function Open_Popup03(pop, width, height) {
  if (GetCookie02(pop) !="checked") {
    window.open('/main/popup/' + pop, 'popup_' + pop, 'width=' + width + ',height=' + height + ',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
  }
}
