<%@ Page Language="C#" Inherits="CuteEditor.Dialogs.FileBrowserPage" %>
<HTML>
	<HEAD>
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.1)">
		<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.1)">
		<link rel="stylesheet" href='style.css'>
		<script src=dialog.js></script><script src=../_shared.js></script>
		<script src="filebrowserpage.js"></script>
		<script src="sorttable.js"></script>
		<script language="JavaScript">
		var OxO6921=["disabled","srcElement","[[Disabled]]","[[SpecifyNewFolderName]]","","value","hiddenActionData","[[CopyMoveto]]","/","[[AreyouSureDelete]]","parentNode","text","isdir",".","[[SpecifyNewFileName]]","hiddenAction","rename","path","True","False",":","cancelBubble","backgroundColor","style","#eeeeee","tagName","INPUT","changedir","hiddenFile","url","TargetUrl"]; function CreateDir_click(){if(event[OxO6921[0x1]][OxO6921[0x0]]){ alert(OxO6921[0x2]) ;return false;} ;var Ox2fb=prompt(OxO6921[0x3],OxO6921[0x4]);if(Ox2fb){ document.getElementById(OxO6921[0x6])[OxO6921[0x5]]=Ox2fb ;return true;} else {return false;} ;}  ; function Move_click(){if(event[OxO6921[0x1]][OxO6921[0x0]]){ alert(OxO6921[0x2]) ;return false;} ;var Ox2fb=prompt(OxO6921[0x7],OxO6921[0x8]);if(Ox2fb){ document.getElementById(OxO6921[0x6])[OxO6921[0x5]]=Ox2fb ;return true;} else {return false;} ;}  ; function Copy_click(){if(event[OxO6921[0x1]][OxO6921[0x0]]){ alert(OxO6921[0x2]) ;return false;} ;var Ox2fb=prompt(OxO6921[0x7],OxO6921[0x8]);if(Ox2fb){ document.getElementById(OxO6921[0x6])[OxO6921[0x5]]=Ox2fb ;return true;} else {return false;} ;}  ; function Delete_click(){if(event[OxO6921[0x1]][OxO6921[0x0]]){ alert(OxO6921[0x2]) ;return false;} ;return confirm(OxO6921[0x9]);}  ; function EditImg_click(Oxb9){if(Oxb9[OxO6921[0x0]]){ alert(OxO6921[0x2]) ;return false;} ; row=Oxb9[OxO6921[0xa]][OxO6921[0xa]] ;var Ox550=row[OxO6921[0xb]];var name;if(row[OxO6921[0xc]]){ name=prompt(OxO6921[0x3],Ox550) ;} else {var i=Ox550.lastIndexOf(OxO6921[0xd]);var Ox551=Ox550.substr(i);var Ox20=Ox550.substr(0x0,Ox550.lastIndexOf(OxO6921[0xd])); name=prompt(OxO6921[0xe],Ox20) ;if(name){ name=name+Ox551 ;} ;} ;if(name&&name!=row[OxO6921[0xb]]){ document.getElementById(OxO6921[0xf])[OxO6921[0x5]]=OxO6921[0x10] ; document.getElementById(OxO6921[0x6])[OxO6921[0x5]]=(row[OxO6921[0xc]]?OxO6921[0x12]:OxO6921[0x13])+OxO6921[0x14]+row[OxO6921[0x11]]+OxO6921[0x14]+name ; postback() ;} ; event[OxO6921[0x15]]=true ;}  ; function row_over(Oxc3){ Oxc3[OxO6921[0x17]][OxO6921[0x16]]=OxO6921[0x18] ;}  ; function row_out(Oxc3){ Oxc3[OxO6921[0x17]][OxO6921[0x16]]=OxO6921[0x4] ;}  ; function row_click(Oxc3){if(Oxc3[OxO6921[0xc]]){if(event[OxO6921[0x1]][OxO6921[0x19]]==OxO6921[0x1a]){return ;} ; document.getElementById(OxO6921[0xf])[OxO6921[0x5]]=OxO6921[0x1b] ; document.getElementById(OxO6921[0x6])[OxO6921[0x5]]=Oxc3.getAttribute(OxO6921[0x11]) ; postback() ;} else {var Ox4f4=Oxc3.getAttribute(OxO6921[0x11]); document.getElementById(OxO6921[0x1c])[OxO6921[0x5]]=Ox4f4 ;var Oxba=Oxc3.getAttribute(OxO6921[0x1d]); document.getElementById(OxO6921[0x1e])[OxO6921[0x5]]=Oxba ; do_preview() ;} ;}  ; function postback(){ <%=Page.GetPostBackEventReference(hiddenAction,"")%> ;}  ;
		</script>
		<style>
		.row { HEIGHT: 22px }
		.cb { VERTICAL-ALIGN: middle }
		.itemimg { VERTICAL-ALIGN: middle }
		.editimg { VERTICAL-ALIGN: middle }
		.cell1 { VERTICAL-ALIGN: middle }
		.cell2 { VERTICAL-ALIGN: middle }
		.cell3 { PADDING-RIGHT: 4px; VERTICAL-ALIGN: middle; TEXT-ALIGN: right }
		.cb { }
		</style>
	</HEAD>
	<body bottomMargin="0" topMargin="10" leftmargin="3" marginwidth="0" marginheight="0">
		<form runat="server" enctype="multipart/form-data" id="Form1">
			<!-- start hidden -->
			<script>
        var OxOa96e=["onload","value","hiddenAlert","","hiddenAction","hiddenActionData"]; window[OxOa96e[0x0]]=reset_hiddens ; function reset_hiddens(){if(document.getElementById(OxOa96e[0x2])[OxOa96e[0x1]]){ alert(document.getElementById(OxOa96e[0x2]).value) ;} ; document.getElementById(OxOa96e[0x2])[OxOa96e[0x1]]=OxOa96e[0x3] ; document.getElementById(OxOa96e[0x4])[OxOa96e[0x1]]=OxOa96e[0x3] ; document.getElementById(OxOa96e[0x5])[OxOa96e[0x1]]=OxOa96e[0x3] ;}  ;
			</script>
			<input type="hidden" runat="server" id="hiddenDirectory" NAME="hiddenDirectory">
			<input type="hidden" runat="server" id="hiddenFile" NAME="hiddenFile"> <input type="hidden" runat="server" enableviewstate="false" id="hiddenAlert" NAME="hiddenAlert">
			<input type="hidden" runat="server" enableviewstate="false" id="hiddenAction" onserverchange="hiddenAction_ServerChange"
				NAME="hiddenAction"> <input type="hidden" runat="server" enableviewstate="false" id="hiddenActionData" NAME="hiddenActionData">
			<!-- end hidden -->
			<table border="0" cellspacing="0" cellpadding="0" width="100%" align="center">
				<tr>
					<td width="20">
						<asp:Image ID="Image1" Runat="server" ImageUrl="../images/openfolder.gif"></asp:Image>
					</td>
					<td width="240" class="normal">
						<asp:Label Runat="server" ID="FolderDescription"></asp:Label>
					</td>
					<td>
						<asp:ImageButton ID="CreateDir" Runat="server" AlternateText="[[Createdirectory]]" ImageUrl="../images/newfolder.gif"
							onMouseOver="CuteEditor_ColorPicker_ButtonOver(this);" Visible="true"
							OnClick="CreateDir_Click" />
						<asp:ImageButton ID="Copy" Runat="server" AlternateText="[[Copyfiles]]" ImageUrl="../images/Copy.gif"
							onMouseOver="CuteEditor_ColorPicker_ButtonOver(this);" Visible="true"
							OnClick="Copy_Click" />
						<asp:ImageButton ID="Move" Runat="server" AlternateText="[[Movefiles]]" ImageUrl="../images/move.gif"
							onMouseOver="CuteEditor_ColorPicker_ButtonOver(this);" Visible="true"
							OnClick="Move_Click" />
						<IMG src="../images/zoom_in.gif" onclick="Zoom_In();" Alt="[[ZoomIn]]" class="dialogButton"
							onmouseover="CuteEditor_ColorPicker_ButtonOver(this);"> <IMG src="../images/zoom_out.gif" onclick="Zoom_Out();" Alt="[[ZoomOut]]" class="dialogButton"
							onmouseover="CuteEditor_ColorPicker_ButtonOver(this);"> <IMG src="../images/Actualsize.gif" onclick="Actualsize();" Alt="[[ActualSize]]" class="dialogButton"
							onmouseover="CuteEditor_ColorPicker_ButtonOver(this);"> 
					</td>
				</tr>
			</table>
			<table border="0" cellspacing="0" cellpadding="2" width="100%" align="center">
				<tr>
					<td valign="top" nowrap width="270">
						<div style="BORDER: 1.5pt inset; VERTICAL-ALIGN: middle; OVERFLOW: auto; WIDTH: 270; HEIGHT: 240px; BACKGROUND-COLOR: white">
							<asp:Table ID="FoldersAndFiles" Runat="server" CellSpacing="1" CellPadding="1" Width="100%" CssClass="sortable">
								<asp:TableRow BackColor="#f0f0f0">
									<asp:TableHeaderCell Width="16px" >
						<asp:ImageButton ID="Delete" Runat="server" AlternateText="[[Deletefiles]]"
							onMouseOver="CuteEditor_ColorPicker_ButtonOver(this);" ImageUrl="../images/s_cut.gif"
							Visible="true" OnClick="Delete_Click" />
									</asp:TableHeaderCell>
									<asp:TableHeaderCell Width="16px" >
						<asp:ImageButton ID="DoRefresh" Runat="server" AlternateText="[[Refresh]]" ImageUrl="../images/s_refresh.gif"
							onMouseOver="CuteEditor_ColorPicker_ButtonOver(this);" Visible="true"
							OnClick="DoRefresh_Click" />
									</asp:TableHeaderCell>
									<asp:TableHeaderCell ID="name_Cell" Width="136px" CssClass="filelistHeadCol" Font-Bold="False">[[Name]]</asp:TableHeaderCell>
									<asp:TableHeaderCell ID="size_Cell" Width="72px" CssClass="filelistHeadCol" Font-Bold="False">[[Count]]/[[Size]]</asp:TableHeaderCell>
									<asp:TableHeaderCell ID="op_Cell"  Width="16px">&nbsp;</asp:TableHeaderCell>
								</asp:TableRow>
							</asp:Table>
						</div>
					</td>
					<td valign="top">
						<div style="paddng: 0 0 0 0; BORDER: 1.5pt inset; VERTICAL-ALIGN: top; OVERFLOW: auto; WIDTH: 300px; BORDER-BOTTOM: 1.5pt inset; HEIGHT: 240px; BACKGROUND-COLOR: white; TEXT-ALIGN: center">
							<div id="divpreview" style="BACKGROUND-COLOR: white" height="100%" width="100%">
								&nbsp;</div>
						</div>
					</td>
				</tr>
			</table>
			<table border="0" cellspacing="2" cellpadding="0" width="98%" align="center">
				<tr>
					<td valign="top">
						<fieldset>
							<legend>
								[[Properties]]</legend>
							<table border="0" cellpadding="4" cellspacing="0" ID="Table3">
								<tr>
									<td>
										<table border="0" cellpadding="1" cellspacing="0" ID="Table4" class="normal">
											<TR>
												<TD>[[Target]]</TD>
												<TD><SELECT id="sel_target">
														<OPTION value="">[[NotSet]]</OPTION>
														<OPTION value="_blank">[[Newwindow]]</OPTION>
														<OPTION value="_self">[[Samewindow]]</OPTION>
														<OPTION value="_top">[[Topmostwindow]]</OPTION>
														<OPTION value="_parent">[[Parentwindow]]</OPTION>
													</SELECT></TD>
											</TR>
											<tr>
												<td>[[Color]]:</td>
												<td><input type="text" id="inp_color" name="inp_color" size="7" style="WIDTH:57px" runat="server">
													<img src="../images/colorpicker.gif" id="inp_color_preview" align="absMiddle" style='BEHAVIOR:url(../ColorPicker.htc.aspx?culture=[[_culture_]]&[[DNN_Arg]])'
														oncolorchange="inp_color.value=this.selectedColor; inp_color.style.backgroundColor=this.selectedColor;inp_color_preview.style.backgroundColor=this.selectedColor">
												</td>
											</tr>
											<tr>
												<td>[[CssClass]]:</td>
												<td><INPUT id="inc_class" type="text" size="14" style="WIDTH:80px" name="inc_class"></td>
											</tr>
											<tr>
												<td>[[ID]]:</td>
												<td><INPUT id="inp_id" type="text" size="14" style="WIDTH:80px" name="inp_id"></td>
											</tr>
											<tr>
												<td>[[TabIndex]]:</td>
												<td><INPUT id="inp_index" type="text" size="14" maxlength=5 style="WIDTH:80px" name="inp_index"  onkeypress="event.returnValue=IsDigit();"></td>
											</tr>
											<tr>
												<td>[[AccessKey]]:</td>
												<td><INPUT id="inp_access" type="text" size="14"  maxlength=1 style="WIDTH:80px" name="inp_access"  onkeypress="event.returnValue=IsDigit();"></td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</fieldset>
					</td>
					<td width="10">
					</td>
					<td valign="top">
						<fieldset>
							<legend>
								[[Insert]]</legend>
							<table border="0" cellpadding="4" cellspacing="0">
								<tr>
									<td>
										<TABLE id="Table8" cellSpacing="0" cellPadding="1" border="0" class="normal">
											<TR>
												<TD vAlign="middle">URL:</TD>
												<TD><INPUT id="TargetUrl" onpropertychange="do_preview()" type="text" size="40" name="TargetUrl"
														runat="server"></TD>
											</TR>
											<TR>
												<TD vAlign="middle">[[Title]]:</TD>
												<TD vAlign="middle"><INPUT id="inp_title" type="text" size="40" name="inp_title"></TD>
											</TR>
										</TABLE>
									</td>
								</tr>
							</table>
						</fieldset>
						<fieldset id="fieldsetUpload">
							<legend>
								[[Upload]] (Max file size allowed
								<%= CuteEditor.Impl.FileStorage.FormatSize(secset.MaxDocumentSize * 1024)%>
								)</legend>
							<table border="0" cellspacing="1" cellpadding="0" width="98%" align="center" class="normal">
								<tr>
									<td valign="top" width="54%" style="FONT-SIZE: 8pt; VERTICAL-ALIGN: middle; FONT-FAMILY: MS Sans Serif">
										<asp:Label ID="Label_PictureUpload" Runat="server">&nbsp;</asp:Label>
										<input id="InputFile" size="40" type="file" runat="server" style="HEIGHT:20px">&nbsp;
									</td>
								</tr>
								<tr>
									<td height="8">
									</td>
								</tr>
								<tr>
									<td>
										<asp:Button ID="uploadButton" Text="[[Upload]]" Runat="server" OnClick="uploadButton_Click" />&nbsp;
										<asp:Label ID="uploadResult" Runat="server"></asp:Label>
									</td>
								</tr>
								<tr>
									<td height="5">
									</td>
								</tr>
								<tr>
									<td>
											<nobr>
											Max Upload folder size is : <%= CuteEditor.Impl.FileStorage.FormatSize(secset.MaxDocumentFolderSize * 1024)%>.
											Used: <%= CuteEditor.Impl.FileStorage.FormatSize(fs.GetDirectorySize(fs.VirtualRoot)) %>
											<span style="background-color:green;height:3px;width:40px;font-size:3px">
												<span style="background-color:red;height:3px;width:<%= GetUsedSpaceBarWidth() %>px;font-size:3px"></span>
											</span>
											</nobr>
									</td>
								</tr>
							</table>
						</fieldset>
						<div align="center" style="padding-top:4px;">
							<input class="inputbuttoninsert" type="button" value="[[Insert]]" onclick="do_insert()"
								id="Button1" NAME="Button1">&nbsp;&nbsp;&nbsp; <input class="inputbuttoncancel" type="button" value="[[Cancel]]" onclick="do_cancel()"
								id="Button2" NAME="Button2">
						</div>
					</td>
				</tr>
			</table>
		</form>
		<script runat="server">
	protected override void InitOfType()
	{
		fs.VirtualRoot=CuteEditor.EditorUtility.ProcessWebPath(Context,null,secset.FilesGalleryPath).TrimEnd('/')+"/";
	}
    protected override void GetFiles(ArrayList files)
    {
        foreach (string ext in secset.DocumentFilters)
        {
            if (ext == null || ext.Length == 0) continue;
            files.AddRange(fs.GetFileItems(CurrentDirectory, secset.FileNamePrefix + "*" + ext));
        }        
        
    }
    protected override bool AllowFileName(string filename)
    {
        filename = filename.ToLower();
        foreach (string ext in secset.DocumentFilters)
        {
            if (ext == null || ext.Length == 0) continue;
            if(filename.EndsWith(ext.ToLower()))
                return true;
        }
        return false;
    }
    protected override string CheckUploadData(ref byte[] data)
    {
		if (fs.GetDirectorySize(fs.VirtualRoot) >= secset.MaxDocumentFolderSize * 1024)
           return "File folder size exceeds the limit: "+ CuteEditor.Impl.FileStorage.FormatSize(secset.MaxDocumentFolderSize * 1024);

		if (data.Length >= secset.MaxDocumentSize * 1024)
            return "File size exceeds "+CuteEditor.Impl.FileStorage.FormatSize(secset.MaxDocumentSize * 1024)+" limit: "+ CuteEditor.Impl.FileStorage.FormatSize(data.Length);
        return null;
    }
    
    protected int GetUsedSpaceBarWidth()
    {
      int w = Convert.ToInt32(40*fs.GetDirectorySize(fs.VirtualRoot)/(secset.MaxDocumentFolderSize * 1024));
      if(w<1)
		w=1;
		
	  if(w>40)
		w=40;
		
      return w;      
    }
		</script>
		<script src="addvars.js"></script>
		<script>

			var OxOf467=["dialogArguments","TargetUrl","sel_target","inp_color","inc_class","inp_title","inp_color_preview","inp_id","inp_access","inp_index","frameloaded","color","style","value","backgroundColor","className","title","target","tabIndex","accessKey","href_cetemp","length","href","","id","innerHTML",".","\x3CIMG src=\x27","\x27\x3E","\x3Cembed src=\x22","\x22 quality=\x22high\x22 width=\x2290%\x22 height=\x2290%\x22 type=\x22application/x-shockwave-flash\x22 pluginspage=\x22http://www.macromedia.com/go/getflashplayer\x22\x3E\x3C/embed\x3E\x0A","\x3Cembed name=\x22MediaPlayer1\x22 src=\x22","\x22 autostart=-1 showcontrols=-1  type=\x22application/x-mplayer2\x22 width=\x22240\x22 height=\x22200\x22 pluginspage=\x22http://www.microsoft.com/Windows/MediaPlayer\x22 \x3E\x3C/embed\x3E\x0A",".mpeg",".mp3",".mpg",".avi",".swf",".bmp",".png",".gif",".jpg",".jpeg","\x3Cp\x3E\x26nbsp;\x3C/p\x3E","\x3Cp\x3E\x26#160;\x3C/p\x3E","\x3Cp\x3E\x3C/p\x3E","\x3Cdiv\x3E\x26#160;\x3C/div\x3E","\x3Cdiv\x3E\x26nbsp;\x3C/div\x3E","\x3Cdiv\x3E\x3C/div\x3E","name","link","returnValue","zoom"];var element=top[OxOf467[0x0]];var TargetUrl=document.getElementById(OxOf467[0x1]);var sel_target=document.getElementById(OxOf467[0x2]);var inp_color=document.getElementById(OxOf467[0x3]);var inc_class=document.getElementById(OxOf467[0x4]);var inp_title=document.getElementById(OxOf467[0x5]);var inp_color_preview=document.getElementById(OxOf467[0x6]);var inp_id=document.getElementById(OxOf467[0x7]);var inp_access=document.getElementById(OxOf467[0x8]);var inp_index=document.getElementById(OxOf467[0x9]);if(!top[OxOf467[0xa]]){ top[OxOf467[0xa]]=true ;if(element[OxOf467[0xc]][OxOf467[0xb]]){ inp_color[OxOf467[0xd]]=element[OxOf467[0xc]][OxOf467[0xb]] ; inp_color[OxOf467[0xc]][OxOf467[0xe]]=inp_color[OxOf467[0xd]] ; inp_color_preview[OxOf467[0xc]][OxOf467[0xe]]=inp_color[OxOf467[0xd]] ;} ;if(element[OxOf467[0xf]]){ inc_class[OxOf467[0xd]]=element[OxOf467[0xf]] ;} ;if(element[OxOf467[0x10]]){ inp_title[OxOf467[0xd]]=element[OxOf467[0x10]] ;} ;if(element[OxOf467[0x11]]){ sel_target[OxOf467[0xd]]=element[OxOf467[0x11]] ;} ;if(element[OxOf467[0x12]]){ inp_index[OxOf467[0xd]]=element[OxOf467[0x12]] ;} ;if(element[OxOf467[0x13]]){ inp_access[OxOf467[0xd]]=element[OxOf467[0x13]] ;} ;var src=element.getAttribute(OxOf467[0x14]);if(!src||src[OxOf467[0x15]]==0x0){ src=element.getAttribute(OxOf467[0x16],0x2)+OxOf467[0x17] ;} ; TargetUrl[OxOf467[0xd]]=src ; inp_id[OxOf467[0xd]]=element[OxOf467[0x18]] ;} ; do_preview() ; function do_preview(){ divpreview[OxOf467[0x19]]=OxOf467[0x17] ;var Oxba=TargetUrl[OxOf467[0xd]];if(Oxba==OxOf467[0x17]){return ;} ;var Ox551=Oxba.substring(Oxba.lastIndexOf(OxOf467[0x1a])).toLowerCase();switch(Ox551){case OxOf467[0x2a]:case OxOf467[0x29]:case OxOf467[0x28]:case OxOf467[0x27]:case OxOf467[0x26]: divpreview[OxOf467[0x19]]=OxOf467[0x1b]+Oxba+OxOf467[0x1c] ;break ;case OxOf467[0x25]:var Ox563=OxOf467[0x1d]+Oxba+OxOf467[0x1e]; divpreview[OxOf467[0x19]]=Ox563 ;break ;case OxOf467[0x24]:case OxOf467[0x23]:case OxOf467[0x22]:case OxOf467[0x21]:var Oxbd=OxOf467[0x1f]+Oxba+OxOf467[0x20]; divpreview[OxOf467[0x19]]=Oxbd ;break ;;;;;;;;;;;} ;}  ; function do_insert(){ element[OxOf467[0xf]]=inc_class[OxOf467[0xd]] ; element[OxOf467[0x11]]=sel_target[OxOf467[0xd]] ; element[OxOf467[0x10]]=inp_title[OxOf467[0xd]] ; element[OxOf467[0x16]]=TargetUrl[OxOf467[0xd]] ; element.setAttribute(OxOf467[0x14],TargetUrl.value) ; element[OxOf467[0x12]]=inp_index[OxOf467[0xd]] ; element[OxOf467[0x13]]=inp_access[OxOf467[0xd]] ; element[OxOf467[0x18]]=inp_id[OxOf467[0xd]] ;if(element[OxOf467[0x10]]==OxOf467[0x17]){ element.removeAttribute(OxOf467[0x10]) ;} ;if(element[OxOf467[0x11]]==OxOf467[0x17]){ element.removeAttribute(OxOf467[0x11]) ;} ;if(element[OxOf467[0xf]]==OxOf467[0x17]){ element.removeAttribute(OxOf467[0xf]) ;} ;if(element[OxOf467[0x12]]==OxOf467[0x17]){ element.removeAttribute(OxOf467[0x12]) ;} ;if(element[OxOf467[0x13]]==OxOf467[0x17]){ element.removeAttribute(OxOf467[0x13]) ;} ;try{ element[OxOf467[0xc]][OxOf467[0xb]]=inp_color[OxOf467[0xd]] ;} catch(er){ element[OxOf467[0xc]][OxOf467[0xb]]=OxOf467[0x17] ;} ;var Oxaf=element[OxOf467[0x19]];switch(Oxaf.toLowerCase()){case OxOf467[0x30]:case OxOf467[0x2f]:case OxOf467[0x2e]:case OxOf467[0x2d]:case OxOf467[0x2c]:case OxOf467[0x2b]: element[OxOf467[0x19]]=OxOf467[0x17] ;break ;default:break ;;;;;;;;} ;if(element[OxOf467[0x19]]==OxOf467[0x17]){ element[OxOf467[0x19]]=element[OxOf467[0x10]]||element[OxOf467[0x16]]||element[OxOf467[0x31]]||OxOf467[0x32] ;} ; top[OxOf467[0x33]]=element ; top.close() ;}  ; function do_cancel(){ top[OxOf467[0x33]]=null ; top.close() ;}  ; function Zoom_In(){if(divpreview[OxOf467[0xc]][OxOf467[0x34]]!=0x0){ divpreview[OxOf467[0xc]][OxOf467[0x34]]*=1.2 ;} else { divpreview[OxOf467[0xc]][OxOf467[0x34]]=1.2 ;} ;}  ; function Zoom_Out(){if(divpreview[OxOf467[0xc]][OxOf467[0x34]]!=0x0){ divpreview[OxOf467[0xc]][OxOf467[0x34]]*=0.8 ;} else { divpreview[OxOf467[0xc]][OxOf467[0x34]]=0.8 ;} ;}  ; function Actualsize(){ divpreview[OxOf467[0xc]][OxOf467[0x34]]=0x1 ;}  ;
		</script>
	</body>
</HTML>
