//======================================================================================
//### µå¸²À§¹ö ÀÚµ¿»ý¼º 
//======================================================================================

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


// show hide Layer - ¹ü±¹¹ÎÃßÁøÀ§¿ø ¹è³Ê
function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'block':(v='hide')?'none':v; }
    obj.display=v; }
}

//-- ÆË¾÷ (³»¿ë¿¡ ¸ÂÃç ÀÚµ¿À¸·Î ¸®»çÀÌÁîÇÔ)
function Win( sURL, sName, scrollbars,left,top){ 
        var win;
        win = window.open(sURL, sName, "status=no,toolbar=no,resizable=no,scrollbars="+scrollbars+",menubar=no, width=1, height=1, left="+left+", top="+top); 
        win.opener.self;
} 

//-----------------------------------------------------------------------------
// ID¸¦ show ¶Ç´Â hide
//-----------------------------------------------------------------------------

function divShow(divname)
{
var divname1="div";
for(i=1; i<10; i=i+1)
         { divname1=divname1 + i;
            if  (divname==divname1)
                { document.getElementById(divname).style.display="none"; }
           else              
    			{ document.getElementById(divname).style.display="block"; }
         }
}

function divHide(divname)
{
var divname1="div";
for(i=1; i<10; i=i+1)
         { divname1=divname1 + i;
            if  (divname==divname1)
                { document.getElementById(divname).style.display="block"; }
           else              
    			{ document.getElementById(divname).style.display="none"; }
         }
}

//======================================================================================================================
//	#####¸¶ÀÌÅ©·Î¼ÒÇÁÆ® ActiveXÆÐÄ¡¿¡ µû¸¥ ÇÃ·¡½¬, µ¿¿µ»ó ±¸Çö¹æ½Ä º¯°æ¿¡ ¸ÂÃá ½ºÅ©¸³Æ® (2006. 02. ÀÛ¼º) - ÀüÆäÀÌÁö °øÅë
//======================================================================================================================
//ÇÃ·¡½¬ Á¦¾î
// 2006. 2. 13ÀÏ ÀÛ¼º

function playflash(file,width,height,bgcolor,quality,name){
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+width+'" height="'+height+'" id="'+name+'">');
	document.write('<param name="movie" value="'+file+'" />');
	document.write('<param name="quality" value="'+quality+'" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<param name="bgcolor" value="'+bgcolor+'" />');
	document.write('<embed src="'+file+'" quality="'+quality+'" wmode="transparent" bgcolor="'+bgcolor+'" width="'+width+'" height="'+height+'" name="'+name+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>')
}

// µ¿¿µ»óÁ¦¾î (/js/vodview.js ÆÄÀÏÇÏ°í µ¿ÀÏ)
function vodcontrol(file,width,height){
	document.write('<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject" codebase="HTTP://ACTIVEX.MICROSOFT.COM/ACTIVEX/CONTROLS/MPLAYER/EN/NSMP2INF.CAB#VERSION=6,4,7,1112" width="'+width+'" height="'+height+'">');
	document.write('<param name="URL" value="'+file+'"/>');
	document.write('<param name="AUTOSTART" value="TRUE"/>');
	document.write('<param name="BufferingTime" value="5">');
	document.write('</object>');
}

//===============================================================================================================
//	####¾ÆÀÌÇÁ·¹ÀÓ ÀÚµ¿ ³ôÀÌ Á¶Á¤ (¹ÎÁÖÈ­¿îµ¿»ç ÄÁÅÙÃ÷) 2006.03 ÀÛ¼º
//===============================================================================================================
function resize_frame(name) {
	var oBody = document.frames[name].document.body;
	var oFrame = document.all[name];

	//oFrame.style.width = oBody.scrollWidth + (oBody.offsetWidth-oBody.clientWidth);
	oFrame.style.height = oBody.scrollHeight + (oBody.offsetHeight-oBody.clientHeight);

	// ÇØ´ç iframeÀÇ °¡·Î³ª ¼¼·ÎÀÇ Å©±â°¡ 0pxÀÌ¸é ¹ß»ýÇÏ´Â ÀÌº¥Æ®
	//if(oFrame.style.width == '0px' || oFrame.style.height == '0px') {
	if( oFrame.style.height == '0px') {
		// ÇØ´ç iframeÀÇ º¯°æÇÒ °¡·ÎÅ©±â
		//oFrame.style.width = "500px";
		// ÇØ´ç iframeÀÇ º¯°æÇÒ ¼¼·ÎÅ©±â
		oFrame.style.height = "200px";
		// Å©±â º¯°æ ÈÄ »óÅÂ¹Ù¿¡ Ç¥½ÃÇÏ´Â ¿À·ù ¸Þ¼¼Áö
		window.status = 'iframe Å©±â º¯°æ ½ÇÆÐ';
	}
}

//===============================================================================================================
//	####ÆäÀÌÁö³» ¾ÞÄ¿ ÀÌµ¿ ½ºÅ©¸³Æ®ÀÔ´Ï´Ù. 2006.06.21 ÀÛ¼º
//===============================================================================================================

var _Ver = navigator.appVersion.charAt(0);
var _Ie = ( navigator.userAgent.indexOf("MSIE") != -1 );
var _Mac = ( navigator.appVersion.indexOf("Mac") != -1 );

// Document Scroll

function vScrollToTop() {
	vScrollTo(0);
}

function vScrollToObj( id ) {
	var y = _v_GetObjPosY(id);
	
	vScrollTo( y );
}

function vScrollTo( y ) {

	var w = window;
	var d = document.documentElement;
	var b = document.body;
	var mac = _Mac && _Ie;
	
	var windowH = (w.innerHeight) ? w.innerHeight : (!mac) ? d.offsetHeight : b.scrollHeight;
	var pageH   = (!mac) ? b.scrollHeight : d.offsetHeight;
	var maxY    = (pageH > windowH) ? pageH - windowH : 0;

	if( _v_scrollTimer ) clearInterval( _v_scrollTimer );
	
	_v_scrollToY = y < maxY ? y : maxY;
	_v_scrollLastY = _v_GetScrollPosY();
	_v_scrollTimer = setInterval( '_v_ScrollDo();', 15 );
}


var _v_scrollToY;
var _v_scrollLastY;
var _v_scrollTimer;

function _v_ScrollDo() {
	var d = _v_scrollLastY - _v_scrollToY;
	var done = false;
	if( Math.abs(d)<1 ) {
		done = true;
		_v_scrollLastY = _v_scrollToY;
	} else if( _v_GetScrollPosY() != Math.floor(_v_scrollLastY) ) done = true;
	else _v_scrollLastY -= d / 6;
	self.scrollTo( 0, Math.floor(_v_scrollLastY) );
	if( done ) {
		clearInterval( _v_scrollTimer );
		_v_scrollTimer = null;
	}
}

function _v_GetScrollPosY() {
	
	var w = window;
	var d = document.documentElement;
	var b = document.body;
	return (w.scrollY) ? w.scrollY : (d.scrollTop) ? d.scrollTop  : b.scrollTop;
}

function _v_GetObjPosY( id ) {
	var o = vGetObj(id);
	if( document.getElementById ) return o.offsetTop;
	if( _Ie ) return o.style.pixelTop;
	return o.top;
}



//===============================================================================================================
//	####ÀüÃ¼ ³»ºñ°ÔÀÌ¼Ç ¸µÅ©¸¦ Á¤ÀÇ (ÇÃ·¡½¬ ³»ºñ°ÔÀÌ¼Ç ¹× ÆäÀÌÁö³» ³»ºñ°ÔÀÌ¼Ç °øÅë) 2006. 02 ÀÛ¼º - ÀüÆäÀÌÁö °øÅë
//===============================================================================================================
function go_menu(index){
     if(index =="00"){
     //¸ÞÀÎÆäÀÌÁö
        this.location.href="/index.html";

    }else if(index =="10"){
	 //¹ÎÁÖÈ­¿îµ¿±â³ä°ü
        this.location.href="/memorial/memorial.html";
	}else if(index =="11"){
     //±â³ä°üÀº?
        this.location.href="/memorial/memorial.html";
    }else if(index =="12"){
    //30¹® 30´ä
        this.location.href="/memorial/qna.html";
    }else if(index =="13"){
    //ÁØºñÀ§¿øÈ¸ Á¶Á÷±¸¼º
        this.location.href="/memorial/propulsion_map.html";
    }else if(index =="14"){
    //Áö¿ªº° Á¶Á÷ ¿¬¶ôÃ³
        this.location.href="/memorial/propulsion_contact.html";
    }else if(index =="15"){
    //¹ÎÁÖÀü´ç °Ç¸³°³¿ä
        this.location.href="/memorial/memorial_overview.html";
    }else if(index =="16"){
    //ÁØºñÀ§¿øÈ¸ ÃßÁø°æ°ú
        this.location.href="/memorial/propulsion_progress.html";


    }else if(index =="20"){
    // ¹ü±¹¹ÎÃßÁøÀ§¿ø
        this.location.href="/board/dream/dream_list.asp";
	}else if(index =="21"){
    // ¹ü±¹¹ÎÃßÁøÀ§¿ø °¡ÀÔ
        this.location.href="/member/join.asp";
    }else if(index =="22"){
    // ²ÞÀ» ¸¸µå´Â »ç¶÷µé
       this.location.href="/board/dream/dream_list.asp";
//	   this.location.href="/board/dream/list.html";
    }else if(index =="23"){
    // °¡ÀÔÃßÃµ¸ÞÀÏ
        this.location.href="/propulsion/send_mail_form.asp";
    }else if(index =="24"){
    // ÃßÁøÀ§¿ø °Ë»ö
		window.open('/propulsion/search_member.asp','search','width=560,height=341,scrollbars=auto,resizable=no,location=no,toolbar=no');
    }else if(index =="25"){
    // ÃßÁøÀ§¿ø Áõ¼­ Ãâ·Â
        this.location.href="/mypage/certification.asp";


	}else if(index =="30"){
    // °øÁö»çÇ×°Ô½ÃÆÇ
        this.location.href="/board/notice/notice_list.asp";	
	}else if(index =="31"){
    // ¹ÎÁÖÀü´çÃßÁøÀ§ ¼Ò½Ä
        this.location.href="/board/notice/notice_list.asp";	
    }else if(index =="32"){
    // ÀÌº¥Æ®
        this.location.href="/event/event_list.html";
    }else if(index =="33"){
    // ÀÚÀ¯°Ô½ÃÆÇ
        this.location.href="/board/freeboard/list.asp";
		//this.location.href="http://www.kdemocracy.or.kr/board/memorialfree/List.asp?bid=memorialfree&page=1";
    }else if(index =="34"){
    // 6¿ù ¹ÎÁÖÇ×Àï ±¹¹Î´ëÅä·Ð
        this.location.href="/board/event_board/debate_main.html";
		//this.location.href="http://www.kdemocracy.or.kr/board/memorialfree/List.asp?bid=memorialfree&page=1";



    }else if(index =="40"){
    // ¸¶ÀÌÆäÀÌÁö
   //  this.location.href="/mypage/certification.asp";
		this.location.href="/mypage/receive_paper_list.asp";
    }else if(index =="41"){
    // È¸¿øÁ¤º¸¼öÁ¤
		this.location.href="/member/edit_member.asp";
    }else if(index =="42"){
    // ÂÊÁö°ü¸®
        this.location.href="/mypage/receive_paper_list.asp";
    }else if(index =="43"){
    // µ¿Áö°ü¸®
        this.location.href="/mypage/friend_group_list.asp";
    }else if(index =="44"){
    // ÃßÃµÀÎ°ü¸®
		this.location.href="/mypage/vote_list.asp";
    }else if(index =="45"){
    // È¸¿øÅ»Åð
		this.location.href="/member/secession.asp";


    }else if(index =="51"){
    // ·Î±×ÀÎ
        this.location.href="/member/login.asp";
    }else if(index =="52"){
    // ·Î±×¾Æ¿ô
        //this.location.href="javascript:alert('·Î±×¾Æ¿ô')";
        this.location.href="/member/login_out.asp";
    }else if(index =="53"){
    // »çÀÌÆ®¸Ê
        this.location.href="/sitemap.html";
    }else if(index =="54"){
    // °ü¸®ÀÚÀÌ¸ÞÀÏ
        this.location.href="mailto:webmaster@kdemo.or.kr";

    }else{
		alert(index);
	}

}

//----------------------------------------------
//Right Sky menu
//Floating v1.1 Source By Bermann
//dobermann75@gmail.com
//----------------------------------------------

//new Floating(Àû¿ëÇÒ°³Ã¼ , XÃà¿©¹é , YÃà¿©¹é , ¹Ì²ô·¯Áö´Â¼Óµµ:ÀÛÀ»¼ö·Ïºü¸§..±âº»20 , ºü¸£±â:ÀÛÀ»¼ö·ÏºÎµå·¯¿ò..±âº»10);

function Floating(FloatingObj,MarginX,MarginY,Percentage,setTime) {
	this.FloatingObj = FloatingObj;
	this.MarginX = (MarginX) ? MarginX : 887;
	this.MarginY = (MarginY) ? MarginY : 454;
	this.Percentage = (Percentage) ? Percentage : 20;
	this.setTime = (setTime) ? setTime : 10;
	this.FloatingObj.style.position = "absolute";
	this.FloatingObj.style.left = 887;
	this.FloatingObj.style.top = 454;
	this.Body = null;
	this.setTimeOut = null;
	this.Run();
}

Floating.prototype.Run = function () {
	if ((document.documentElement.scrollLeft + document.documentElement.scrollTop) > (document.body.scrollLeft + document.body.scrollTop)) {
		this.Body = document.documentElement;
	} else {
		this.Body = document.body;
	}

	var This = this;
	var FloatingObjLeft = (this.FloatingObj.style.left) ? parseInt(this.FloatingObj.style.left,10) : this.FloatingObj.offsetLeft;
	var FloatingObjTop = (this.FloatingObj.style.top) ? parseInt(this.FloatingObj.style.top,10) : this.FloatingObj.offsetTop;
	var DocLeft = this.Body.scrollLeft + this.MarginX;
	var DocTop = this.Body.scrollTop + this.MarginY;

	var MoveX = Math.abs(FloatingObjLeft - DocLeft);
	MoveX = Math.ceil(MoveX / this.Percentage);
	var MoveY = Math.abs(FloatingObjTop - DocTop);
	MoveY = Math.ceil(MoveY / this.Percentage);

	if (FloatingObjLeft < DocLeft) {
		this.FloatingObj.style.left = FloatingObjLeft + MoveX + "px";
	} else {
		this.FloatingObj.style.left = FloatingObjLeft - MoveX + "px";
	}

	if (FloatingObjTop < DocTop) {
		this.FloatingObj.style.top = FloatingObjTop + MoveY + "px";
	} else {
		this.FloatingObj.style.top = FloatingObjTop - MoveY + "px";
	}

	window.clearTimeout(this.setTimeOut);
	this.setTimeOut = window.setTimeout(function () { This.Run(); },this.setTime);
}

//-----------------------------------------------------------------------------
// ±ÛÀÚÅ©±â Á¶Àý
// ÃâÃ³: http://www.goeay.kr
//-----------------------------------------------------------------------------

function wdSetFontSize(a) {
	var defaultFontSize = 1;//em
	var minFontSize = 1;//em
	var maxFontSize = 2;//em
	obj = document.getElementById("contents");
	var objFontSize = obj.style.fontSize;
	if (!objFontSize) { objFontSize = parseFloat(defaultFontSize)+"em"; }
	var checkFontSize = (Math.round(12*parseFloat(objFontSize))+(a*2))/12;
	if (checkFontSize >= maxFontSize) { checkFontSize = maxFontSize; obj.style.fontSize = checkFontSize+"em"; alert("´õÀÌ»ó ´Ã¸± ¼ö ¾ø½À´Ï´Ù."); }
	else if (checkFontSize <= minFontSize) { checkFontSize = minFontSize; obj.style.fontSize = checkFontSize+"em"; alert("´õÀÌ»ó ÁÙÀÏ ¼ö ¾ø½À´Ï´Ù."); }
	else { obj.style.fontSize = checkFontSize+"em"; }
//	alert(checkFontSize);
}

function wdSetRESize() {
	obj = document.getElementById("contents");
	obj.style.fontSize = "1em";
}

//-----------------------------------------------------------------------------
// Æ¯Á¤ºÎºÐ ÇÁ¸°Æ®
// ÀÛ¼º: ³ëÈ£¿­ 2009_11_24  ÃâÃ³ : http://dongsung2.fiaa.net/board/bbs/board.php?bo_table=my_php&wr_id=9
//-----------------------------------------------------------------------------

    function pagePrint(Obj) { 
        var W = Obj.offsetWidth;        //screen.availWidth; 
        var H = Obj.offsetHeight;        //screen.availHeight; 
        var features = "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=" + W + ",height=" + H + ",left=0,top=0"; 
        var PrintPage = window.open("about:blank",Obj.id,features); 
        PrintPage.document.open(); 
//        PrintPage.document.write("<html><head><title></title><link href=/css/sub.css rel=stylesheet type=text/css />\n<body>" + Obj.innerHTML + "\n</body></html>");
	    PrintPage.document.write("<html><head><title></title><link href=/css/sub.css rel=stylesheet type=text/css />\n<body>\n<table width=600 border=0 align=center><br><tr height=20 width=600><td align=right valign=bottom >&nbsp;<img src=/img/print.gif onClick=javascript:window.print() style=cursor:pointer>&nbsp;<img src=/img/close.gif onClick=javascript:self.close() style=cursor:pointer></td></tr></table>\n<table width=630 border=0 align=center cellspacing=5>" + Obj.innerHTML + "\n</table></body></html>"); 
        PrintPage.document.close(); 
        PrintPage.document.title = document.domain; 
//        PrintPage.window.print();
//        PrintPage.printWindow(PrintPage.location.reload()); 
    }
	


    function pagePrint2(Obj) { 
        var W = Obj.offsetWidth ;        //screen.availWidth; 
        var H = Obj.offsetHeight;        //screen.availHeight; 
        var features = "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=" + W + ",height=" + H + ",left=0,top=0"; 
        var PrintPage = window.open("about:blank",Obj.id,features); 
        PrintPage.document.open(); 
//        PrintPage.document.write("<html><head><title></title><link href=/css/sub.css rel=stylesheet type=text/css />\n<body>" + Obj.innerHTML + "\n</body></html>");
	      PrintPage.document.write("<html><head><title></title><link href=/css/sub2.css rel=stylesheet type=text/css />\n<body>\n<table width=600 border=0 align=center><br><tr height=20 width=600><td align=right valign=bottom >&nbsp;<img src=/img/print.gif onClick=javascript:window.print() style=cursor:pointer>&nbsp;<img src=/img/close.gif onClick=javascript:self.close() style=cursor:pointer></td></tr></table>\n<table width=600 border=0 align=center cellspacing=5>" + Obj.innerHTML + "\n</table></body></html>"); 
        PrintPage.document.title = document.domain; 
//        PrintPage.window.print();
//        PrintPage.printWindow(PrintPage.location.reload()); 
    }
	
	 function pagePrint21(Obj) { 
        var W = Obj.offsetWidth ;        //screen.availWidth; 
        var H = Obj.offsetHeight;        //screen.availHeight; 
        var features = "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=" + W + ",height=" + H + ",left=0,top=0"; 
        var PrintPage = window.open("about:blank",Obj.id,features); 
        PrintPage.document.open(); 
//        PrintPage.document.write("<html><head><title></title><link href=/css/sub.css rel=stylesheet type=text/css />\n<body>" + Obj.innerHTML + "\n</body></html>");
	     PrintPage.document.write("<html><head><title></title><link href=/css/sub2.css rel=stylesheet type=text/css />\n<body>\n<table width=600 border=0 cellspacing=5 align=center><br><tr height=20 width=600><td align=right valign=bottom >&nbsp;<img src=/img/print.gif onClick=javascript:window.print() style=cursor:pointer>&nbsp;<img src=/img/close.gif onClick=javascript:self.close() style=cursor:pointer></td></tr></table>\n" + Obj.innerHTML + "\n</body></html>"); 
        PrintPage.document.title = document.domain; 
//        PrintPage.window.print();
//        PrintPage.printWindow(PrintPage.location.reload()); 
    }


	    function pagePrint3(Obj) { 
        var W = Obj.offsetWidth;        //screen.availWidth; 
        var H = Obj.offsetHeight;        //screen.availHeight; 
        var features = "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=" + W + ",height=" + H + ",left=0,top=0"; 
        var PrintPage = window.open("about:blank",Obj.id,features); 
        PrintPage.document.open(); 
//        PrintPage.document.write("<html><head><title></title><link href=/css/sub.css rel=stylesheet type=text/css />\n<body>" + Obj.innerHTML + "\n</body></html>");
	    PrintPage.document.write("<html><head><title></title><link href=/css/sub3.css rel=stylesheet type=text/css />\n<body>\n<table width=600 border=0><br><tr height=20 width=600><td align=right valign=bottom >&nbsp;<img src=/img/print.gif onClick=javascript:window.print() style=cursor:pointer>&nbsp;<img src=/img/close.gif onClick=javascript:self.close() style=cursor:pointer></td></tr></table>\n" + Obj.innerHTML + "\n</body></html>"); 
        PrintPage.document.close(); 
        PrintPage.document.title = document.domain; 
//        PrintPage.window.print();
//        PrintPage.printWindow(PrintPage.location.reload()); 
    }
	


	    function pagePrint4(Obj) { 
        var W = Obj.offsetWidth;        //screen.availWidth; 
        var H = Obj.offsetHeight;        //screen.availHeight; 
        var features = "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=" + W + ",height=" + H + ",left=0,top=0"; 
        var PrintPage = window.open("about:blank",Obj.id,features); 
        PrintPage.document.open(); 
//        PrintPage.document.write("<html><head><title></title><link href=/css/sub.css rel=stylesheet type=text/css />\n<body>" + Obj.innerHTML + "\n</body></html>");
	    PrintPage.document.write("<html><head><title></title><link href=/css/sub4.css rel=stylesheet type=text/css />\n<body>\n<table width=600 border=0><br><tr height=20 width=600><td align=right valign=bottom >&nbsp;<img src=/img/print.gif onClick=javascript:window.print() style=cursor:pointer>&nbsp;<img src=/img/close.gif onClick=javascript:self.close() style=cursor:pointer></td></tr></table>\n" + Obj.innerHTML + "\n</body></html>"); 
        PrintPage.document.close(); 
        PrintPage.document.title = document.domain; 
//        PrintPage.window.print();
//        PrintPage.printWindow(PrintPage.location.reload()); 
    }
	


	    function pagePrint5(Obj) { 
        var W = Obj.offsetWidth;        //screen.availWidth; 
        var H = Obj.offsetHeight;        //screen.availHeight; 
        var features = "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=" + W + ",height=" + H + ",left=0,top=0"; 
        var PrintPage = window.open("about:blank",Obj.id,features); 
        PrintPage.document.open(); 
//        PrintPage.document.write("<html><head><title></title><link href=/css/sub.css rel=stylesheet type=text/css />\n<body>" + Obj.innerHTML + "\n</body></html>");
	    PrintPage.document.write("<html><head><title></title><link href=/css/sub5.css rel=stylesheet type=text/css />\n<body>\n<table width=600 border=0><br><tr height=20 width=600><td align=right valign=bottom >&nbsp;<img src=/img/print.gif onClick=javascript:window.print() style=cursor:pointer>&nbsp;<img src=/img/close.gif onClick=javascript:self.close() style=cursor:pointer></td></tr></table>\n" + Obj.innerHTML + "\n</body></html>"); 
        PrintPage.document.close(); 
        PrintPage.document.title = document.domain; 
//        PrintPage.window.print();
//        PrintPage.printWindow(PrintPage.location.reload()); 
    }
	


	    function pagePrint6(Obj) { 
        var W = Obj.offsetWidth;        //screen.availWidth; 
        var H = Obj.offsetHeight;        //screen.availHeight; 
        var features = "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=" + W + ",height=" + H + ",left=0,top=0"; 
        var PrintPage = window.open("about:blank",Obj.id,features); 
        PrintPage.document.open(); 
//        PrintPage.document.write("<html><head><title></title><link href=/css/sub.css rel=stylesheet type=text/css />\n<body>" + Obj.innerHTML + "\n</body></html>");
	    PrintPage.document.write("<html><head><title></title><link href=/css/sub6.css rel=stylesheet type=text/css />\n<body>\n<table width=600 border=0><br><tr height=20 width=600><td align=right valign=bottom >&nbsp;<img src=/img/print.gif onClick=javascript:window.print() style=cursor:pointer>&nbsp;<img src=/img/close.gif onClick=javascript:self.close() style=cursor:pointer></td></tr></table>\n" + Obj.innerHTML + "\n</body></html>"); 
        PrintPage.document.close(); 
        PrintPage.document.title = document.domain; 
//        PrintPage.window.print();
//        PrintPage.printWindow(PrintPage.location.reload()); 
    }
	