	function bookAreaDraw(){
		var doc = document;
		bookLeft = top.BOOK_AREA_LEFT;
		bookTop = top.BOOK_AREA_TOP;
		bookWidth = top.ZOOM_AREA_WIDTH;
		bookHeight = top.ZOOM_AREA_HEIGHT;		

		
		var _visible = 'visible';
		doc.writeln("<DIV ID='viewLayer' style='position:absolute;left="+eval(bookLeft+0)+";top="+eval(bookTop+0)+";width="+eval(zoomWidth[0]*2)+";height="+eval(zoomHeight[0])+";z-index:"+BOOK_AREA_ZINDEX+";overflow:hidden;visibility:"+_visible+"'>");
		doc.writeln("<iframe name='view' SRC='BOOK.HTM' style='position:absolute;width="+bookWidth+";height="+bookHeight+"' frameborder=0 border=0 framespacing=0>");
//		doc.writeln("<iframe name='view' SRC='BOOK.HTM' width=3200 height=3200 frameborder=0 border=0 framespacing=0>");
		doc.writeln("</iframe>");
		doc.writeln("</DIV>");	
	}

	function goFieldDraw(){
		var doc = document;
		doc.writeln("<DIV style='overflow:visible;position:absolute;left="+top.GO_FIELD_LEFT+";top="+top.GO_FIELD_TOP+";width="+top.GO_FIELD_WIDTH+";height="+top.GO_FIELD_HEIGHT+";FONT-SIZE: 8pt;Z-index:10' >");
 		doc.writeln("</DIV>");
		doc.writeln("<DIV style='overflow:visible;position:absolute;left="+top.GO_FIELD_LEFT+";top="+top.GO_FIELD_TOP+";width="+top.GO_FIELD_WIDTH+";height="+top.GO_FIELD_HEIGHT+";FONT-SIZE: 8pt;Z-index:"+GO_FIELD_ZINDEX+"' >");
		doc.write("<input type='text' size=2 value="+eval(1-coverPages+startPage)+" ID='page' class='loginbox' onKeyDown='top.enterCheck();' onClick=\"this.value=''\"> / ");
		doc.write(eval(totalPage+1-coverPages));
		doc.write("</DIV>");
	}
	
	function parsing(_dir){	
		var doc = document;		
    	for(inx = 0;inx < objCount; inx++){    		
    		if(!objName[inx]) continue;

    		if(_dir=="main" && inx==0){
            if(window.clientInformation.userAgent.indexOf("SV1")>0){
                window.resizeTo(objWidth[inx]+10,objHeight[inx]+55);
            }
            else{
                window.resizeTo(objWidth[inx]+10,objHeight[inx]+25);
            }
        }

    		
    		if(functionOnLoad[inx]&&functionOnLoad[inx].length>0){
    			if(functionOnLoad[inx]=="bookAreaDraw()"){
    				top.BOOK_AREA_LEFT = objX[inx];
    				top.BOOK_AREA_TOP = objY[inx];
    				top.BOOK_AREA_WIDTH = objWidth[inx];
    				top.BOOK_AREA_HEIGHT = objHeight[inx];
    				top.BOOK_AREA_ZINDEX = objZindex[inx];
					
    				bookAreaDraw();
		            _loading_table.width = objWidth[inx];
        		    _loading_table.height = objHeight[inx];
    				continue;
    			}else if(functionOnLoad[inx]=="goFieldDraw()"){
    				top.GO_FIELD_LEFT = objX[inx];
    				top.GO_FIELD_TOP = objY[inx];
    				top.GO_FIELD_WIDTH = objWidth[inx];
    				top.GO_FIELD_HEIGHT = objHeight[inx];
    				top.GO_FIELD_ZINDEX = objZindex[inx];
    				goFieldDraw();
    				continue;
    			}else if(functionOnLoad[inx].indexOf("loadTextFieldWithOption")>=0){
    				var textFieldID = functionOnLoad[inx].substring(25,functionOnLoad[inx].length-2);
    				var textSize = textFieldID.substring(0,2);
    				var textColor = textFieldID.substring(2,9);
    				var backColor = textFieldID.substring(9,16);
    				var textFieldID = textFieldID.substring(16,textFieldID.length);
    				doc.writeln("<DIV style='overflow:visible;position:absolute;left="+objX[inx]+";top="+eval(objY[inx]-6)+";width:"+objWidth[inx]+";height:"+objHeight[inx]+";z-index:30'>");
    				if(textFieldID=="searchField"){
	    				doc.writeln("	<input type='text' name="+textFieldID+" style='background-color: "+backColor+";color: "+textColor+";font-size: "+textSize+"px;border-style: none;width:"+objWidth[inx]+";height:"+objHeight[inx]+"' onKeyPress='searchKeyCheck()'>");

	    			}else{
	    				doc.writeln("	<input type='text' name="+textFieldID+" style='background-color: "+backColor+";color: "+textColor+";font-size: "+textSize+"px;border-style: none;width:"+objWidth[inx]+";height:"+objHeight[inx]+"' >");
	    			}
    				doc.writeln("</DIV>");
    				continue;
    			}else if(functionOnLoad[inx].indexOf("loadTextField")>=0){
    				var textFieldID = functionOnLoad[inx].substring(15,functionOnLoad[inx].length-2);
    				doc.writeln("<DIV style='overflow:hidden;position:absolute;left="+objX[inx]+";top="+objY[inx]+";width:"+objWidth[inx]+";height:"+objHeight[inx]+";z-index:"+objZindex[inx]+"'>");
    				if(textFieldID=="searchField"){
	    				doc.writeln("	<input type='text' name="+textFieldID+" style='background-color: #000001;filter: Chroma(Color=#000001);border-style: none;width:"+objWidth[inx]+";height:"+objHeight[inx]+"'   onKeyDown='event.cancelBubble = true'  onKeyPress='searchKeyCheck()'>");
	    			}else{
	    				doc.writeln("	<input type='text' name="+textFieldID+" style='background-color: #000001;filter: Chroma(Color=#000001);border-style: none;width:"+objWidth[inx]+";height:"+objHeight[inx]+"'   onKeyDown='event.cancelBubble = true' >");
	    			}
    				doc.writeln("</DIV>");
    				continue; 
    			}else if(functionOnLoad[inx].indexOf("loadTextArea")>=0){
    				var textFieldID = functionOnLoad[inx].substring(14,functionOnLoad[inx].length-2);
    				var textFieldID = functionOnLoad[inx].substring(14,functionOnLoad[inx].length-2);
    				doc.writeln("<DIV style='overflow:hidden;position:absolute;left="+objX[inx]+";top="+objY[inx]+";width:"+objWidth[inx]+";height:"+objHeight[inx]+";z-index:"+objZindex[inx]+"'>");
    				doc.writeln("	<textarea name="+textFieldID+" rows="+eval(objHeight[inx]/15)+" style='background-color: #000001;filter: Chroma(Color=#000001);border-style: none;width:"+objWidth[inx]+";height:"+objHeight[inx]+"'  onKeyDown='event.cancelBubble = true' ></textarea>");
    				doc.writeln("</DIV>");
    				continue;   				
    			}else if(functionOnLoad[inx].indexOf("loadCheckBox")>=0){
    				var checkBoxID = functionOnLoad[inx].substring(14,functionOnLoad[inx].length-2);    				
    				doc.writeln("<DIV style='overflow:hidden;position:absolute;left="+objX[inx]+";top="+objY[inx]+";width:"+objWidth[inx]+";height:"+objHeight[inx]+";z-index:"+objZindex[inx]+"'>");
    				doc.writeln("<DIV style='position:absolute;top:-4'>");
    				doc.writeln("	<input type='checkBox' id="+checkBoxID+" style='background-color: #000001;filter: Chroma(Color=#000001);border-style: none;width:"+objWidth[inx]+";height:"+objHeight[inx]+"'  onKeyDown='event.cancelBubble = true' >");
    				doc.writeln("</DIV>");
    				doc.writeln("</DIV>");
    				continue;
    			}else if(functionOnLoad[inx] == "loadPrintAllPage()"){    				
    				doc.writeln("<DIV style='overflow:hidden;position:absolute;left="+objX[inx]+";top="+objY[inx]+";width:"+objWidth[inx]+";height:"+objHeight[inx]+";z-index:"+objZindex[inx]+"'>");
    				doc.writeln("	<NOBR>");
    				doc.writeln("		<img id='printImg1' src='' width="+eval(objWidth[inx]/2)+" height ="+objHeight[inx]+">");
    				doc.writeln("		<img id='printImg2' src='' width="+eval(objWidth[inx]/2)+" height ="+objHeight[inx]+">");
    				doc.writeln("	</NOBR>");    				
    				doc.writeln("</DIV>");
    				continue;
    			}else if(functionOnLoad[inx] == "loadPrintHalfPage()"){
    				doc.writeln("<DIV style='overflow:hidden;position:absolute;left="+objX[inx]+";top="+objY[inx]+";width:"+objWidth[inx]+";height:"+objHeight[inx]+";z-index:"+objZindex[inx]+"'>");
    				doc.writeln("	<NOBR>");
    				doc.writeln("		<img id='printHalfImg' src='' width="+objWidth[inx]+" height ="+objHeight[inx]+">");
    				doc.writeln("	</NOBR>");    				
    				doc.writeln("</DIV>");
    				continue;    				
    			}else if(functionOnLoad[inx]=="loadListArea()"){
    				doc.writeln("<DIV style='overflow:hidden;position:absolute;left="+objX[inx]+";top="+objY[inx]+";width:"+objWidth[inx]+";height:"+objHeight[inx]+";z-index:"+objZindex[inx]+";'>");
    				doc.writeln("	<IFRAME name='MENU_LIST_FRAME' id='MENU_LIST_FRAME' src='about:blank' width="+objWidth[inx]+" height="+objHeight[inx]+" frameborder= no bgcolor='#000001' style='filter: Chroma(Color=#000001)'>");
    				doc.writeln("	</IFRAME>");
 	  				doc.writeln("</DIV>");
 	  				top._menu_row_img.width = objWidth[inx];
// 	  				top._menu_row_img.height = objHeight[inx];
    				continue;
    			}else if(functionOnLoad[inx] == "loadResultFrame()"){
    				doc.writeln("<DIV style='overflow:hidden;position:absolute;left="+objX[inx]+";top="+objY[inx]+";width:"+objWidth[inx]+";height:"+objHeight[inx]+";z-index:"+objZindex[inx]+";FILTER:chroma(color=#000001)'>");
    				doc.writeln("	<IFRAME name='resultFrame' id='resultFrame' src='about:blank' width="+objWidth[inx]+" height="+objHeight[inx]+" frameborder=0 leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'>");
    				doc.writeln("	</IFRAME>");
 	  				doc.writeln("</DIV>");
    				continue;
    			}else if(functionOnLoad[inx] == "loadSliderPageLayer()"){
 	  				doc.writeln("<div id='pageLayer' style='position:absolute; left:"+objX[inx]+"; top:"+objY[inx]+"; width:15; height:10; z-index:30' onMouseUp='pageChanged()'> ");
 	  				doc.writeln("  <img src='design/common_images/volume_picker.gif' width='14' height='9'  style='cursor:hand' alt="+STRINGS['SLIDE_PAGE_HANDLE']+"  onMouseDown=\"slideDrag('pageLayer',pageLeft,pageLevel)\"></div> ");
 	  				pageLeft = objX[inx] +4;
 	  				pageLevel = objWidth[inx] -8;
  					continue;
    			}else if(functionOnLoad[inx] == "loadSliderSpeedLayer()"){
 	  				doc.writeln("<div id='speedLayer' style='position:absolute; left:"+objX[inx]+"; top:"+objY[inx]+"; width:15; height:10; z-index:30'  onMouseUp='speedChanged()'> ");
 	  				doc.writeln("  <img id='speedImg' src='design/common_images/volume_picker.gif' width='14' height='9'  style='cursor:hand' alt="+STRINGS['SLIDE_SPEED_SET_ALT']+" onMouseDown=\"slideDrag('speedLayer',speedLeft,speedLevel)\"></div> ");
 	  				speedLeft = objX[inx] + 4;
 	  				speedLevel = objWidth[inx] - 8;
  					continue;
    			}else if(functionOnLoad[inx] == "loadNavigatorFrame()"){ 
    				doc.writeln("<DIV style='position:absolute;left:"+ objX[inx]+";top:"+ objY[inx]+";width:"+objWidth[inx]+";height:"+objHeight[inx]+";FILTER:"+objFilter[inx]+"'>");
    				doc.writeln("<table border=0 bgcolor=white>");
    				doc.writeln("<tr>");
    				doc.writeln("<td align='center' width="+objWidth[inx]+" height="+objHeight[inx]+" border=0>");
					doc.writeln("<IFRAME name='zoomRectFr' src='ZOOMRECT.HTM' width="+zoomRectWidth+" height="+zoomRectHeight+" frameborder=0 scrolling=no ></IFRAME>");
	   				doc.writeln("</td>");
	   				doc.writeln("</tr>");
    				doc.writeln("</table>");
 					doc.writeln("</DIV>");
    				continue;
    			}else if(functionOnLoad[inx] == "zoomAreaSetting()"){
    				ZOOM_AREA_LEFT = objX[inx];
    				ZOOM_AREA_TOP = objY[inx];
    				ZOOM_AREA_WIDTH = objWidth[inx];
    				ZOOM_AREA_HEIGHT = objHeight[inx];
    				ZOOM_AREA_ZINDEX = objZindex[inx];
    				ZOOM_AREA_FILTER = objFilter[inx];
  					if(document.frames["view"]&&document.frames["view"]!=undefined){
							bookWidth = top.ZOOM_AREA_WIDTH;
							bookHeight = top.ZOOM_AREA_HEIGHT;
							
							document.all.view.style.width = bookWidth;    						
    						document.all.view.style.height = bookHeight;
  					}
    				continue;
    			}else if(functionOnLoad[inx] == "menuAreaSetting()"){
    				MENU_AREA_LEFT = objX[inx];
    				MENU_AREA_TOP = objY[inx];
    				MENU_AREA_WIDTH = objWidth[inx];
    				MENU_AREA_HEIGHT = objHeight[inx];
    				MENU_AREA_ZINDEX = objZindex[inx];
    				MENU_AREA_VISIBILITY = objVisible[inx];
    				MENU_AREA_FILTER = objFilter[inx];
    				continue;
    			}else if(functionOnLoad[inx] == "sliderAreaSetting()"){
    				SLIDER_AREA_LEFT = objX[inx];
    				SLIDER_AREA_TOP = objY[inx];
    				SLIDER_AREA_WIDTH = objWidth[inx];
    				SLIDER_AREA_HEIGHT = objHeight[inx]; 
    				SLIDER_AREA_ZINDEX = objZindex[inx];
    				SLIDER_AREA_VISIBILITY = objVisible[inx];
    				SLIDER_AREA_FILTER = objFilter[inx];
    				continue;
    			}else if(functionOnLoad[inx] == "mailRecommandAreaSetting()"){
    				MAIL_RECOMMAND_AREA_LEFT = objX[inx];
    				MAIL_RECOMMAND_AREA_TOP = objY[inx];
    				MAIL_RECOMMAND_AREA_WIDTH = objWidth[inx];
    				MAIL_RECOMMAND_AREA_HEIGHT = objHeight[inx];    				
    				MAIL_RECOMMAND_ZINDEX = objZindex[inx];
    				MAIL_RECOMMAND_FILTER = objFilter[inx];
    				continue;
    			}else if(functionOnLoad[inx] == "mailAdminAreaSetting()"){
    				MAIL_ADMIN_AREA_LEFT = objX[inx];
    				MAIL_ADMIN_AREA_TOP = objY[inx];
    				MAIL_ADMIN_AREA_WIDTH = objWidth[inx];
    				MAIL_ADMIN_AREA_HEIGHT = objHeight[inx];
    				MAIL_ADMIN_ZINDEX = objZindex[inx];
    				MAIL_ADMIN_FILTER = objFilter[inx];
    				continue;
    			}else if(functionOnLoad[inx] == "subMenuSearchAreaSetting()"){
    				SUB_MENU_SEARCH_AREA_LEFT = objX[inx];
    				SUB_MENU_SEARCH_AREA_TOP = objY[inx];
    				SUB_MENU_SEARCH_AREA_WIDTH = objWidth[inx];
    				SUB_MENU_SEARCH_AREA_HEIGHT = objHeight[inx];    				
    				SUB_MENU_SEARCH_AREA_ZINDEX = objZindex[inx];
    				SUB_MENU_SEARCH_AREA_VISIBILITY = objVisible[inx];
    				SUB_MENU_SEARCH_AREA_FILTER = objFilter[inx];
    				continue;
    			}else if(functionOnLoad[inx] == "subMenuMailAreaSetting()"){
    				SUB_MENU_MAIL_AREA_LEFT = objX[inx];
    				SUB_MENU_MAIL_AREA_TOP = objY[inx];
    				SUB_MENU_MAIL_AREA_WIDTH = objWidth[inx];
    				SUB_MENU_MAIL_AREA_HEIGHT = objHeight[inx];
    				SUB_MENU_MAIL_AREA_ZINDEX = objZindex[inx];
    				SUB_MENU_MAIL_AREA_FILTER = objFilter[inx];
    				continue;
    			}else if(functionOnLoad[inx] == "subMenuPrintAreaSetting()"){
    				SUB_MENU_PRINT_AREA_LEFT = objX[inx];
    				SUB_MENU_PRINT_AREA_TOP = objY[inx];
    				SUB_MENU_PRINT_AREA_WIDTH = objWidth[inx];
    				SUB_MENU_PRINT_AREA_HEIGHT = objHeight[inx];
    				SUB_MENU_PRINT_AREA_ZINDEX = objZindex[inx];
    				SUB_MENU_PRINT_AREA_FILTER = objFilter[inx];
    				continue;
    			}else if(functionOnLoad[inx] == "navigatorAreaSetting()"){
    				NAVIGATOR_AREA_LEFT = objX[inx];
    				NAVIGATOR_AREA_TOP = objY[inx];
    				NAVIGATOR_AREA_WIDTH = objWidth[inx];
    				NAVIGATOR_AREA_HEIGHT = objHeight[inx];
    				NAVIGATOR_AREA_ZINDEX = objZindex[inx];
    				NAVIGATOR_AREA_FILTER = objFilter[inx];	
    				
    				continue;
    			}else if(functionOnLoad[inx] == "todayCounting()"){
    			  TODAY_COUNT_LEFT = objX[inx];
            TODAY_COUNT_TOP = objY[inx];
           	TODAY_COUNT_WIDTH = objWidth[inx];
           	TODAY_COUNT_HEIGHT = objHeight[inx];
           	TODAY_COUNT_ZINDEX = objZindex[inx];
           	TODAY_COUNT_FILTER = objFilter[inx];
           	TODAY_COUNT_VISIBILITY= objVisible[inx];  
           	
           	continue;
    			}else if(functionOnLoad[inx] == "totalCounting()"){
    			  TOTAL_COUNT_LEFT = objX[inx];
            TOTAL_COUNT_TOP = objY[inx];
           	TOTAL_COUNT_WIDTH = objWidth[inx];
           	TOTAL_COUNT_HEIGHT = objHeight[inx];
           	TOTAL_COUNT_ZINDEX = objZindex[inx];
           	TOTAL_COUNT_FILTER = objFilter[inx];
           	TOTAL_COUNT_VISIBILITY= objVisible[inx];  
           	
           	continue;
    			}else if(functionOnLoad[inx].indexOf("loadExtraPage")>=0){
    				var extraPageSrc = functionOnLoad[inx].substring(15,functionOnLoad[inx].length-1);

    				var commaInx = extraPageSrc.indexOf(",");
    				var commaInx2 = extraPageSrc.lastIndexOf(",");
    				
    				var tmpHandle = "";
    				var isHandle = false;
    				var isCustom = false;
    				var title = "extra page";
    				
    				if(commaInx>=0){
    					if(commaInx==commaInx2){
    					  tmpHandle = extraPageSrc.substring(commaInx+1,extraPageSrc.length);
	    				}else{
	   						tmpHandle = extraPageSrc.substring(commaInx+1,commaInx2);
	   						title = extraPageSrc.substring(commaInx2+2,extraPageSrc.length-1);
	    				}

    					if(tmpHandle.toLowerCase()=="custom"){
    					  isHandle = true;
    					  isCustom = true;
    					}else{
   	    				isHandle = eval(tmpHandle);
  	    				isCustom = false;
  	    			}
//  	    			alert(isHandle +" "+ isCustom+ " "+ tmpHandle);
    					extraPageSrc = extraPageSrc.substring(0,commaInx-1);
    					
    				}else{
    					extraPageSrc = extraPageSrc.substring(0,extraPageSrc.length-1);
    				}
    				
    				if(isHandle){
      			  doc.writeln("<DIV ID="+objName[inx]+"_LAYER style='cursor:move;position:absolute;left:"+objX[inx]+";top:"+objY[inx]+";width;"+objWidth[inx]+";height:"+eval(objHeight[inx]+29)+";visibility:"+objVisible[inx]+";z-index:"+objZindex[inx]+";overflow:hidden' onMousedown=top.MM_dragLayer('"+objName[inx]+"_LAYER','',0,0,0,0,false,true,-1,-1,-1,-1,false,false,0,'',false,'')>");
      					
  						doc.writeln("<DIV ID=NORMAL_"+objName[inx]+"_LAYER>");
      				doc.writeln("<table border=0 cellpadding=0 cellspacing=0 onDblClick='extraMinimize("+objName[inx]+"_LAYER)'>");
      				doc.writeln("<tr><td>");
      				if(!isCustom){
    						doc.write("<img src='design/common_images/extra_title_bar_left.gif' height=29 width=16>");
    						doc.write("<img src='design/common_images/extra_title_bar_body.gif' height=29 width="+(eval(objWidth[inx]-58)/2)+">");
    						doc.write("<img src='design/common_images/extra_title_bar_move.gif' height=29 width=26>");
    						doc.write("<img src='design/common_images/extra_title_bar_body.gif' height=29 width="+(eval(objWidth[inx]-58)/2 - 35)+">");
    						doc.write("<img src='design/common_images/extra_title_minimize.gif' height=29 width=15 style='cursor:hand' onMouseover='this.src=\"design/common_images/extra_title_minimize_over.gif\"' onMouseout='this.src=\"design/common_images/extra_title_minimize.gif\"' onClick='extraMinimize("+objName[inx]+"_LAYER)'>");
    						doc.write("<img src='design/common_images/extra_title_bar_body.gif' height=29 width=5>");
    						doc.write("<img src='design/common_images/extra_title_close.gif' height=29 width=15  style='cursor:hand' onMouseover='this.src=\"design/common_images/extra_title_close_over.gif\"' onMouseout='this.src=\"design/common_images/extra_title_close.gif\"' onClick='"+objName[inx]+"_LAYER.style.visibility=\"hidden\"'>");
    						doc.writeln("<img src='design/common_images/extra_title_bar_right.gif' height=29 width=16><br>");
    					}else{
    						doc.write("<img src='design/common_images/extra_title_bar_left.gif' >");
    						doc.write("<img src='design/common_images/extra_title_bar_body.gif' >");
    						doc.write("<img src='design/common_images/extra_title_bar_move.gif' >");
    						doc.write("<img src='design/common_images/extra_title_bar_body.gif' >");
    						doc.write("<img src='design/common_images/extra_title_minimize.gif' style='cursor:hand' onMouseover='this.src=\"design/common_images/extra_title_minimize_over.gif\"' onMouseout='this.src=\"design/common_images/extra_title_minimize.gif\"' onClick='extraMinimize("+objName[inx]+"_LAYER)'>");
    						doc.write("<img src='design/common_images/extra_title_bar_body.gif' >");
    						doc.write("<img src='design/common_images/extra_title_close.gif' style='cursor:hand' onMouseover='this.src=\"design/common_images/extra_title_close_over.gif\"' onMouseout='this.src=\"design/common_images/extra_title_close.gif\"' onClick='"+objName[inx]+"_LAYER.style.visibility=\"hidden\"'>");
    						doc.writeln("<img src='design/common_images/extra_title_bar_right.gif' ><br>");    					  
    					}
      				doc.writeln("</td></tr><table>");
      				doc.writeln("</table>");
  						doc.writeln("<IFRAME ID="+objName[inx]+"_FRAME src='"+extraPageSrc+"' frameborder='no' scroll=auto width="+objWidth[inx]+" height="+objHeight[inx]+" style='filter: Chroma(Color=#000001)'>");
  						doc.writeln("</IFRAME>");
  						doc.writeln("</DIV>");
  						
  						doc.writeln("	<DIV ID=MINI_"+objName[inx]+"_LAYER style='cursor:move;position:absolute;left:0;top:0;visibility:hidden'>");
  						doc.writeln("		<img src='design/common_images/extra_capsule.gif'>");
  						doc.writeln("		<DIV style='cursor:move;position:absolute;left:0;top:0'>");
  						doc.writeln("			<TABLE width=120 height=28><TR><TD align='center'>"+title+"</TD></TR></TABLE>");
  						doc.writeln("		</DIV>");
  						doc.writeln("		<DIV style='cursor:hand;position:absolute;left:0;top:0;' onDblClick='extraNormalize("+objName[inx]+"_LAYER)'>");
  						doc.writeln("			<img src=design/common_images/transparency.gif width=120 height=28>");
  						doc.writeln("		</DIV>");						
  						doc.writeln("	</DIV>");
  						doc.writeln("</DIV>");
    				}else{
						doc.writeln("<DIV ID="+objName[inx]+"_LAYER style='position:absolute;left:"+objX[inx]+";top:"+objY[inx]+";width;"+objWidth[inx]+";height:"+objHeight[inx]+";visibility:"+objVisible[inx]+";z-index:"+objZindex[inx]+";overflow:hidden'>");    					
						doc.writeln("<IFRAME ID="+objName[inx]+"_FRAME src='"+extraPageSrc+"' frameborder='no' scroll=auto width="+objWidth[inx]+" height="+objHeight[inx]+" style='filter: Chroma(Color=#000001)'>");
						doc.writeln("</IFRAME>");
						doc.writeln("</DIV>");						
    				}

    				continue;
    			}
    		}
       		if(objImageFile[inx].length >0 || objOverRollImage[inx].length>0){
       			var number ="";
       			try{
       				eval("_obj_layer_"+objName[inx]);
       				
       				number = 0;
       				while(true){
       					eval("_obj_layer_"+objName[inx]+number);
       					number++;       					
       				}
       			}catch(e){
       				objName[inx] = objName[inx]+number;
       			}
       			if(functionOnLoad[inx]&&functionOnLoad[inx].length>0){
	       			if(functionOnLoad[inx].indexOf("setObjName")>=0){
    					var _obj_name = functionOnLoad[inx].substring(12,functionOnLoad[inx].length-2);
    					objName[inx] = _obj_name;
    					functionOnLoad[inx] = "";
    				}
    			}

         		_obj_layer = "<DIV ID=\"_obj_layer_"+objName[inx]+"\" style='position:absolute;left="+objX[inx]+";top="+objY[inx]+";width="+objWidth[inx]+";height="+objHeight[inx]+";visibility:"+objVisible[inx]+";z-index:"+objZindex[inx];

        		
        		try{
	       			if(objFilter[inx]&&objFilter[inx].length>0){
    	   				_obj_layer += ";FILTER:"+objFilter[inx];
    	   				objFilter[inx] = "";
       				}
       			}catch(e){}
       			_obj_layer+="'>";
       			if(objImageFile[inx].length>0){
         			_obj_image = "<IMG ID=\"_obj_image_"+objName[inx]+"\" src=design/"+_dir+"/design_images/"+objImageFile[inx]+" width="+objWidth[inx]+" height="+objHeight[inx];
         		}else{
       		  	_obj_image = "<IMG ID=\"_obj_image_"+objName[inx]+"\" src=design/common_images/transparency.gif width="+objWidth[inx]+" height="+objHeight[inx];
       		  }
       			if(objOverRollImage[inx].length>0) {
       				if(functionOnMouseover[inx]&&functionOnMouseover[inx].length>0){
       					_obj_image += " onMouseOver =\""+functionOnMouseover[inx]+";this.src='design/"+_dir+"/design_images/"+objOverRollImage[inx]+"'\"";
       				}else{
       					_obj_image += " onMouseOver=\"this.src='design/"+_dir+"/design_images/"+objOverRollImage[inx]+"'\"";
       				}
       				
       				if(functionOnMouseout[inx]&&functionOnMouseout[inx].length>0){
       				  if(objImageFile[inx].length>0){
         					_obj_image += " onMouseOut =\""+functionOnMouseout[inx]+";this.src='design/"+_dir+"/design_images/"+objImageFile[inx]+"'\"";
         				}else{
         				  _obj_image += " onMouseOut =\""+functionOnMouseout[inx]+";this.src='design/common_images/transparency.gif'\"";
         				}
       				}else{
           			if(objImageFile[inx].length>0){
         					_obj_image += " onMouseOut=\"this.src='design/"+_dir+"/design_images/"+objImageFile[inx]+"'\"";
         				}else{
       				  	_obj_image += " onMouseOut=\"this.src='design/common_images/transparency.gif'\"";
         				}
       				}
       			}else{
       				if(functionOnMouseover[inx]&&functionOnMouseover[inx].length>0) _obj_image += " onMouseover =\""+functionOnMouseover[inx]+"\"";
       				if(functionOnMouseout[inx]&&functionOnMouseout[inx].length>0) _obj_image += " onMouseout =\""+functionOnMouseout[inx]+"\"";
       			}
	       		

    			if(functionOnBlur[inx]&&functionOnBlur[inx].length>0) _obj_image += " onBlur=\""+functionOnBlur[inx]+"\"";
          if(functionOnClick[inx]&&functionOnClick[inx].length>0){
            if(functionOnClick[inx] =="goPage(eval(page.value-1+coverPages))"){
              //if goPage button for reverse flipping __goPage use.
              _obj_image += " onClick =\"__"+functionOnClick[inx]+"\"  style='cursor:hand'";
            }else{
              _obj_image += " onClick =\""+functionOnClick[inx]+"\"  style='cursor:hand'";
            }
          }
          if(functionOnChange[inx]&&functionOnChange[inx].length>0) _obj_image += " onChange =\""+functionOnChange[inx]+"\"";
    			if(functionOnFocus[inx]&&functionOnFocus[inx].length>0) _obj_image += " onFocus =\""+functionOnFocus[inx]+"\"";
    			if(functionOnMousedown[inx]&&functionOnMousedown[inx].length>0) _obj_image += " onMousedown =\""+functionOnMousedown[inx]+"\"";
    			if(functionOnMousemove[inx]&&functionOnMousemove[inx].length>0) _obj_image += " onMousemove =\""+functionOnMousemove[inx]+"\"";
    			if(functionOnMouseup[inx]&&functionOnMouseup[inx].length>0)  _obj_image += " onMouseup =\""+functionOnMouseup[inx]+"\"";
    			if(functionOnSelect[inx]&&functionOnSelect[inx].length>0)  _obj_image += " onSelect =\""+functionOnSelect[inx]+"\"";
    			if(functionOnSubmit[inx]&&functionOnSubmit[inx].length>0) _obj_image += " onSubmit =\""+functionOnSubmit[inx]+"\"";
    			if(functionOnLoad[inx]&&functionOnLoad[inx].length>0)  _obj_image += " onLoad =\""+functionOnLoad[inx]+"\"";
    			if(functionOnError[inx]&&functionOnError[inx].length>0) _obj_image += " onError =\""+functionOnError[inx]+"\"";
    			if(functionOnReset[inx]&&functionOnReset[inx].length>0) _obj_image += " onReset =\""+functionOnReset[inx]+"\"";
    			if(functionOnDbclick[inx]&&functionOnDbclick[inx].length>0) _obj_image += " onDbclick =\""+functionOnDbclick[inx]+"\"";
    			if(functionOnDragdrop[inx]&&functionOnDragdrop[inx].length>0) _obj_image += " onDragdrop =\""+functionOnDragdrop[inx]+"\"";
    			if(functionOnKeydown[inx]&&functionOnKeydown[inx].length>0) _obj_image += " onKeydown =\""+functionOnKeydown[inx]+"\"";
    			if(functionOnKeypress[inx]&&functionOnKeypress[inx].length>0) _obj_image += " onKeypress =\""+functionOnKeypress[inx]+"\"";
    			if(functionOnKeyup[inx]&&functionOnKeyup[inx].length>0) _obj_image += " onKeyup =\""+functionOnKeyup[inx]+"\"";
    			if(functionOnMove[inx]&&functionOnMove[inx].length>0) _obj_image += " onMove =\""+functionOnMove[inx]+"\"";
    			if(functionOnResize[inx]&&functionOnResize[inx].length>0) _obj_image += " onResize =\""+functionOnResize[inx]+"\"";
    			if(functionOnUnload[inx]&&functionOnUnload[inx].length>0) _obj_image += " onUnload =\""+functionOnUnload[inx]+"\"";
    			if(objAltString[inx]&&objAltString[inx].length>0) _obj_image += " alt=\""+objAltString[inx]+"\"";	

				_obj_image += " USEMAP='#_anti_image_menu_map' border='0'>";
				
    			doc.write(_obj_layer);
    			doc.write(_obj_image);
    			doc.write("</DIV>");

    			try{
        			if(objZoomMode[inx]&&objZoomMode[inx].length>0){
    	    			if(objZoomMode[inx]=="zoom"){
    		    			zoomModeZoomLayers.push(eval("_obj_layer_"+objName[inx]));
    		    			eval("_obj_layer_"+objName[inx]).style.visibility = "hidden";
    		    		}else if(objZoomMode[inx]=="normal"){
    						zoomModeNomalLayers.push(eval("_obj_layer_"+objName[inx]));
    	    			}
    	    		}
    	    		objZoomMode[inx] = "";
    	    	}catch(e){}
    		}
    	}
    }

