<!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//dialog">
<!--MENU-LOCATION=NONE-->
<!-----------------------------------------------------------------------------
-	File Name:
-		Google_Free_Custom.htm
-
-	Description:
-       For the custom Google Search object		
-
-	This file contains proprietary and confidential information from WebAssist.com
-	corporation.  Any unauthorized reuse, reproduction, or modification without
-	the prior written consent of WebAssist.com is strictly prohibited.
-
-	Copyright 2004 WebAssist.com Corporation.  All rights reserved.
------------------------------------------------------------------------------>
<!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//dialog">
<html xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
<head>
<SCRIPT SRC="../Shared/MM/Scripts/CMN/UI.js"></SCRIPT>
<SCRIPT SRC="../Shared/MM/Scripts/Class/PageControlClass.js"></SCRIPT>
<SCRIPT SRC="../Shared/MM/Scripts/Class/GridControlClass.js"></SCRIPT>
<SCRIPT SRC="../Shared/MM/Scripts/Class/ListControlClass.js"></SCRIPT>
<SCRIPT SRC="../Shared/Google/FreeSearch/GoogleFreeShared.js"></SCRIPT>
<SCRIPT SRC="Google_Free_Custom.js"></SCRIPT>
<title><MMString:loadString id="Commands/Google_Free_Custom/title" /></title>
<STYLE TYPE="text/css">
<!--
.wizardPage       { position:absolute; left:9px; top:10px; width:500px; height:350px; z-index:98; visibility:hidden }
-->
</STYLE>
<script>
//--------------- LOCALIZEABLE GLOBALS---------------
var MSG_AlreadyInForm = dw.loadString('Commands/Google_Free_Custom/MSG_AlreadyInForm');
var MSG_BadColor      = dw.loadString('Commands/Google_Free_Custom/MSG_BadColor');
var GOOGLESEARCH = dw.loadString('Commands/Google_Free_Custom/GOOGLESEARCH');
var THREEW = dw.loadString('Commands/Google_Free_Custom/THREEW');
var GOOGLEHELP = dw.loadString('Commands/Google_Free_Custom/GOOGLEHELP');
var BUTTONTOP = dw.loadString('Commands/Google_Free_Custom/BUTTONTOP');
var BUTTONHEIGHT = dw.loadString('Commands/Google_Free_Custom/BUTTONHEIGHT')
var CANCELLEFT = dw.loadString('Commands/Google_Free_Custom/CANCELLEFT');
var CANCELWIDTH = dw.loadString('Commands/Google_Free_Custom/CANCELWIDTH');
var HELPLEFT = dw.loadString('Commands/Google_Free_Custom/HELPLEFT');
var HELPWIDTH = dw.loadString('Commands/Google_Free_Custom/HELPWIDTH');
var FINISHWIDTH = dw.loadString('Commands/Google_Free_Custom/FINISHWIDTH');
var NEXTLEFT = dw.loadString('Commands/Google_Free_Custom/NEXTLEFT');
var NEXTWIDTH = dw.loadString('Commands/Google_Free_Custom/NEXTWIDTH');
var BACKLEFT = dw.loadString('Commands/Google_Free_Custom/BACKLEFT');
var BACKWIDTH  = dw.loadString('Commands/Google_Free_Custom/BACKWIDTH');
var WIZNAME = dw.loadString('Commands/Google_Free_Custom/WIZNAME');
var WIZNAME_DOMAIN = dw.loadString('Commands/Google_Free_Custom/WIZNAME_DOMAIN');
var GOBACK = dw.loadString('Commands/Google_Free_Custom/GOBACK');
var FINISH = dw.loadString('Commands/Google_Free_Custom/FINISH');
var CONTINUETEXT = dw.loadString('Commands/Google_Free_Custom/CONTINUETEXT');
var WEBSEARCH = dw.loadString('Commands/Google_Free_Custom/WEBSEARCH');
var NOTEXT = dw.loadString('Commands/Google_Free_Custom/NOTEXT');
var YESTEXT = dw.loadString('Commands/Google_Free_Custom/YESTEXT');
var TEXTCOLOR = dw.loadString('Commands/Google_Free_Custom/TEXTCOLOR');
var WITHSITESEARCH = dw.loadString('Commands/Google_Free_Custom/WITHSITESEARCH');
var DOMAINS = dw.loadString('Commands/Google_Free_Custom/DOMAINS');
var VISITEDLINK = dw.loadString('Commands/Google_Free_Custom/VISITEDLINK');
var ACTIVELINK = dw.loadString('Commands/Google_Free_Custom/ACTIVELINK');
var LINKCOLOR = dw.loadString('Commands/Google_Free_Custom/LINKCOLOR');
var FAINTCOLOR = dw.loadString('Commands/Google_Free_Custom/FAINTCOLOR');
var IMPORTANTCOLOR = dw.loadString('Commands/Google_Free_Custom/IMPORTANTCOLOR');
var ALTCOLOR = dw.loadString('Commands/Google_Free_Custom/ALTCOLOR');
var BACKGROUNDIMG = dw.loadString('Commands/Google_Free_Custom/BACKGROUNDIMG');
var BACKGROUNDCOLOR = dw.loadString('Commands/Google_Free_Custom/BACKGROUNDCOLOR');
var LOGOCOLOR = dw.loadString('Commands/Google_Free_Custom/LOGOCOLOR');
var CUSTOMALIGN = dw.loadString('Commands/Google_Free_Custom/CUSTOMALIGN');
var CUSTOMHEIGHT = dw.loadString('Commands/Google_Free_Custom/CUSTOMHEIGHT');
var CUSTOMWIDTH = dw.loadString('Commands/Google_Free_Custom/CUSTOMWIDTH');
var CUSTOMLOGO = dw.loadString('Commands/Google_Free_Custom/CUSTOMLOGO');
var SEARCHENABLED = dw.loadString('Commands/Google_Free_Custom/SEARCHENABLED');
var SEARCHTYPE = dw.loadString('Commands/Google_Free_Custom/SEARCHTYPE');
var MACFONT = dw.loadString('Commands/Google_Free_Custom/MACFONT');
var ALREADYINFORM = dw.loadString('Commands/Google_Free_Custom/ALREADYINFORM');
//--------------- END LOCALIZEABLE   ---------------
</script>
</HEAD>

<BODY onLoad="initializeUI();">
<form name="Form1">
<table cellpadding="0" cellspacing="0" border="0" width="515">
 <tr>
   <td height="350">
    <div id="DomainWP" class="wizardPage">
    <table width="100%" border="0" cellspacing="4" cellpadding="0">
      <tr valign="baseline">
        <td><b><MMString:loadString id="Commands/Google_Free_Custom/text/Step" /></b></td>
      </tr>
	    <tr valign="baseline">
	      <td><MMString:loadString id="Commands/Google_Free_Custom/text/This_wizard_will" /></td>
	    </tr>
      <tr>
        <td height="10"><img src="../shared/Google/FreeSearch/images/_tx_.gif" height="10"></td>
      </tr>
      <tr valign="baseline">
        <td><MMString:loadString id="Commands/Google_Free_Custom/text/Search" /></td>
      </tr>
    </table>
    <table width="100%" border="0" cellspacing="4" cellpadding="0">            
      <tr valign="baseline">
        <td>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">            
            <tr valign="baseline">
              <td align="right" width="15">&nbsp;</td>
              <td align="right" width="20"><input name="searchRDO" type="radio" value="0" onClick="switchPreview();" checked></td>
              <td><label><MMString:loadString id="Commands/Google_Free_Custom/text/WebSearch" /></label></td>
            </tr>
            <tr valign="baseline">
              <td align="right" width="15">&nbsp;</td>
              <td align="right" width="20"><input type="radio" name="searchRDO" value="1" onClick="switchPreview();"></td>
              <td><label><MMString:loadString id="Commands/Google_Free_Custom/text/WebSearch_1" /></label></td>
            </tr> 
            <tr valign="baseline">
              <td align="right" width="15">&nbsp;</td>
              <td align="right" width="20">&nbsp;</td>
              <td><label><MMString:loadString id="Commands/Google_Free_Custom/text/Domains" /></label>&nbsp;<input name="domains" type="text" style="width:200" value="www.yourdomain.com" disabled onBlur="switchPreview();"></td>
            </tr>           
          </table>            
        </td>
      </tr>    
      <tr valign="baseline">
        <td>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">            
            <tr valign="baseline">
              <td align="right" width="15">&nbsp;</td>
              <td align="right" width="20"><input type="checkbox" name="safeSearchCHK" value="1" onClick="switchPreview();"></td>
              <td><label><MMString:loadString id="Commands/Google_Free_Custom/text/Enable" /></label></td>
            </tr>          
          </table>         
        </td>
      </tr>
    </table>  
    <table width="100%" border="0" cellspacing="4" cellpadding="0">      
      <tr>
        <td height="10"><img src="../shared/Google/FreeSearch/images/_tx_.gif" height="10"></td>
      </tr>
      <tr valign="baseline">
        <td nowrap><MMString:loadString id="Commands/Google_Free_Custom/text/Preview" /></td>
      </tr>   
      <tr>
        <td>
          <table width="100%" cellpadding="0" cellspacing="0" border="1" bgcolor="#ffffff">
      	    <tr>
              <td align="center"><span id="previewSpan">&nbsp;</span></td>
        	  </tr>
          </table>         
        </td>
      </tr>   
    </table>  
 </div>
 <div id="LogoWP" class="wizardPage">
 <table width="100%" border="0" cellspacing="4" cellpadding="0">
    <tr>
      <td><b><MMString:loadString id="Commands/Google_Free_Custom/text/Step_1" /></b></td>
    </tr>
    <tr>
      <td><MMString:loadString id="Commands/Google_Free_Custom/text/Use" /></td>
    </tr>
    <tr>
      <td height="10"><img src="../shared/Google/FreeSearch/images/_tx_.gif" height="10"></td>
    </tr>   
    <tr valign="baseline">
      <td align="right" nowrap><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td valign=center nowrap><MMString:loadString id="Commands/Google_Free_Custom/text/Your" />&nbsp;&nbsp;</td>
          <td width="100%" valign=center> <hr size="2"></td>
        </tr>
      </table></td>
    </tr> 
  </table>
  <table width="100%" border="0" cellspacing="4" cellpadding="0">
    <tr valign="baseline">
			<td width="130" align="right"><MMString:loadString id="Commands/Google_Free_Custom/text/Web" /></td>
			<td><input type="text" name="logoURL" style="width:250" value="http://"></td>
  </tr>
    <tr valign="baseline">
			<td width="130" align="right"><MMString:loadString id="Commands/Google_Free_Custom/text/Width" /></td>          
      <td><input type="text" name="width" style="width:100px"></td>
    </tr>
    <tr valign="baseline">
			<td width="130" align="right"><MMString:loadString id="Commands/Google_Free_Custom/text/Height" /></td>          
      <td><input type="text" name="height" style="width:100px"></td>
    </tr> 
    <tr valign="baseline">
			<td width="130" align="right"><MMString:loadString id="Commands/Google_Free_Custom/text/Alignment" /></td>          
      <td><select name="logoAlignLST" style="width:100px">
          <option value="center" selected><MMString:loadString id="Commands/Google_Free_Custom/option/center/Center" /></option>
          <option value="left"><MMString:loadString id="Commands/Google_Free_Custom/option/left/Left" /></option>           
          </select>
      </td>
    </tr>                    
  </table>
  <table width="100%" border="0" cellspacing="4" cellpadding="0">   
    <tr valign="baseline">
      <td align="right" nowrap><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td valign=center nowrap><MMString:loadString id="Commands/Google_Free_Custom/text/Google" />&nbsp;&nbsp;</td>
          <td width="100%" valign=center> <hr size="2"></td>
        </tr>
      </table></td>
    </tr>
  </table>
  <table width="100%" border="0" cellspacing="4" cellpadding="0">
    <tr valign="baseline">
      <td width="130" align="right" valign="baseline"><MMString:loadString id="Commands/Google_Free_Custom/text/Background" /></td>
      <td valign="baseline"><select name="googleBGColorLST" style="width:100px">
      <option value="0" selected><MMString:loadString id="Commands/Google_Free_Custom/option/0/White" /></option>
              <option value="1"><MMString:loadString id="Commands/Google_Free_Custom/option/1/Grey" /></option>
              <option value="2"><MMString:loadString id="Commands/Google_Free_Custom/option/2/Black" /></option>
              </select></td>
    </tr>
  </table>  
</div>
<div id="ColorWP" class="wizardPage"> 
  <table width="100%" border="0" cellspacing="4" cellpadding="0">
    <tr> 
      <td><b><MMString:loadString id="Commands/Google_Free_Custom/text/Step_2" /></b></td>
    </tr>
    <tr> 
      <td><MMString:loadString id="Commands/Google_Free_Custom/text/Set" /></td>
    </tr>
    <tr>
      <td height="10"><img src="../shared/Google/FreeSearch/images/_tx_.gif" height="10"></td>
    </tr>     
    <tr valign="baseline">
      <td align="right" nowrap><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td valign=center nowrap><MMString:loadString id="Commands/Google_Free_Custom/text/Background_1" />&nbsp;&nbsp;</td>
          <td width="100%" valign=center> <hr size="2"></td>
        </tr>
      </table></td>
    </tr>
  </table>
  <table width="100%" border="0" cellspacing="4" cellpadding="0">
    <tr valign="baseline">
      <td width="130" align="right"><MMString:loadString id="Commands/Google_Free_Custom/text/Color" /></td>
      <td><input type="mmcolorbutton" onChange="setColorBox(document.ColorWP.document.bgColor, document.ColorWP.document.bgColorPick)" name="bgColorPick"> <input type="hidden" name="bgColor" onBlur="setColorPick(document.ColorWP.document.bgColorPick, document.ColorWP.document.bgColor)" style="width:60px" maxlength="7"></td>
      </tr>
      <tr valign="baseline">
      <td width="130" align="right" valign="baseline"><MMString:loadString id="Commands/Google_Free_Custom/text/Web" /></td>
      <td><input type="text" name="bgURL" style="width:250" value="http://"></td>
    </tr>          
 </table>  
 <table width="100%" border="0" cellspacing="4" cellpadding="0">
    <tr valign="baseline">
      <td align="right" nowrap><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td valign=center nowrap><MMString:loadString id="Commands/Google_Free_Custom/text/Text" />&nbsp;&nbsp;</td>
          <td width="100%" valign=center> <hr size="2"></td>
        </tr>
      </table></td>
    </tr>
  </table>  
	<table width="100%" border="0" cellspacing="4" cellpadding="0">
   <tr valign="baseline">
    <td width="130" align="right" ><MMString:loadString id="Commands/Google_Free_Custom/text/Text_1" /></td>
				<td width="50"><input type="mmcolorbutton" name="textColorPick" onChange="setColorBox(document.ColorWP.document.textColor, document.ColorWP.document.textColorPick)"> <input type="hidden" name="textColor" onBlur="setColorPick(document.ColorWP.document.textColorPick, document.ColorWP.document.textColor)" style="width:60px" maxlength="7"></td>
   	<td width="100" align="right"><MMString:loadString id="Commands/Google_Free_Custom/text/Alt" /></td>
				<td><input type="mmcolorbutton" name="altColorPick" onChange="setColorBox(document.ColorWP.document.altColor, document.ColorWP.document.altColorPick)"> <input type="hidden" name="altColor" onBlur="setColorPick(document.ColorWP.document.altColorPick, document.ColorWP.document.altColor)" style="width:60px" maxlength="7"></td>
	  </tr>
   <tr valign="baseline">
    <td width="130" align="right" ><MMString:loadString id="Commands/Google_Free_Custom/text/Important" /></td>
				<td width="50"><input type="mmcolorbutton" name="importantColorPick" onChange="setColorBox(document.ColorWP.document.importantColor, document.ColorWP.document.importantColorPick)"> <input type="hidden" name="importantColor" onBlur="setColorPick(document.ColorWP.document.importantColorPick, document.ColorWP.document.importantColor)" style="width:60px" maxlength="7"></td>
   	<td width="100" align="right"><MMString:loadString id="Commands/Google_Free_Custom/text/Faint" /></td>
				<td><input type="mmcolorbutton" name="faintColorPick" onChange="setColorBox(document.ColorWP.document.faintColor, document.ColorWP.document.faintColorPick)"> <input type="hidden" name="faintColor" onBlur="setColorPick(document.ColorWP.document.faintColorPick, document.ColorWP.document.faintColor)" style="width:60px" maxlength="7"></td>
	  </tr>          
	</table>  
  <table width="100%" border="0" cellspacing="4" cellpadding="0">
    <tr valign="baseline">
      <td align="right" nowrap><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td valign=center nowrap><MMString:loadString id="Commands/Google_Free_Custom/text/Link" />&nbsp;&nbsp;</td>
          <td width="100%" valign=center> <hr size="2"></td>
        </tr>
      </table></td>
    </tr>
  </table> 
	<table width="100%" border="0" cellspacing="4" cellpadding="0">
   <tr valign="baseline">
    <td width="130" align="right" ><MMString:loadString id="Commands/Google_Free_Custom/text/Link_1" /></td>
				<td width="50"><input type="mmcolorbutton" name="linkColorPick" onChange="setColorBox(document.ColorWP.document.linkColor, document.ColorWP.document.linkColorPick)"> <input type="hidden" name="linkColor" onBlur="setColorPick(document.ColorWP.document.linkColorPick, document.ColorWP.document.linkColor)" style="width:60px" maxlength="7"></td>
   	<td width="100" align="right"><MMString:loadString id="Commands/Google_Free_Custom/text/Active" /></td>
				<td><input type="mmcolorbutton" name="activeColorPick" onChange="setColorBox(document.ColorWP.document.activeColor, document.ColorWP.document.activeColorPick)"> <input type="hidden" name="activeColor" onBlur="setColorPick(document.ColorWP.document.activeColorPick, document.ColorWP.document.activeColor)" style="width:60px" maxlength="7"></td>
	  </tr>
   <tr valign="baseline">
    <td width="130" align="right" ><MMString:loadString id="Commands/Google_Free_Custom/text/Visited" /></td>
				<td width="50"><input type="mmcolorbutton" name="visitedColorPick" onChange="setColorBox(document.ColorWP.document.visitedColor, document.ColorWP.document.visitedColorPick)"> <input type="hidden" name="visitedColor" onBlur="setColorPick(document.ColorWP.document.visitedColorPick, document.ColorWP.document.visitedColor)" style="width:60px" maxlength="7"></td>
   	<td width="100" align="right">&nbsp;</td>
				<td>&nbsp;</td>
	  </tr>          
	</table>    
  </div>
  <div id="SummaryWP" class="wizardPage"> 
    <table width="450" border="0" cellspacing="4" cellpadding="0">
      <tr> 
        <td><b><MMString:loadString id="Commands/Google_Free_Custom/text/Summary" /></b></td>
      </tr>
      <tr> 
        <td>
<MMString:loadString id="Commands/Google_Free_Custom/text/Here_summary">.


        </td>
      </tr>
      <tr>
        <td height="10"><img src="../shared/Google/FreeSearch/images/_tx_.gif" height="10"></td>
      </tr>       
      <tr valign="baseline"> 
        <td> 
          <textarea name="summaryText" style="width:425px;height:245px" wrap="VIRTUAL"></textarea>
        </td>
      </tr>
    </table>
  </div> 
  </td>
  </tr>
  <tr>
    <td><hr></td>
  </tr>
  <tr>
    <td height="25">&nbsp;</td>
  </tr>
</table>
  <div id="googlelogo" style="position:absolute; z-index:93; left: 4px; top: 388px; visibility: hidden"> 
    <input type="image" src="../Shared/Google/FreeSearch/Images/google_logo.gif" onClick="openGBrowser()">
  </div>
  <div id="walogo" style="position:absolute; z-index:93; left: 85px; top: 386px; visibility: hidden"> 
    <input type="image" src="../shared/Google/FreeSearch/Images/WebAssist_logo.gif" onClick="openWABrowser()">
  </div>
  <div id="help" style="position:absolute; z-index:94; left: 184px; top: 385px; visibility: hidden"> 
    <input type="submit" name="btnHelp" MMString:value="Commands/Google_Free_Custom/submit/btnHelp/Help" onClick="displayHelp();" style="width:76; height:24;">
  </div>
  <div id="back" style="position:absolute; z-index:93; left: 267px; top: 385px; visibility: hidden"> 
    <input name="btnBack" type="submit" onClick="showPreviousPage();" MMString:value="Commands/Google_Free_Custom/submit/btnBack/Back"  style="width:76; height:24;">
  </div>
  <div id="finish" style="position:absolute; z-index:92; left: 350px; top: 385px; visibility: hidden"> 
    <input type="submit" name="btnFinish" MMString:value="Commands/Google_Free_Custom/submit/btnFinish/Done" onClick="generateCustom();" style="width:76; height:24;">
  </div>
<div id="next" style="position:absolute; z-index:91; left: 350px; top: 385px; visibility: hidden"> 
    <input name="btnNext" type="submit" onClick="showNextPage();" MMString:value="Commands/Google_Free_Custom/submit/btnNext/Next" style="width:76; height:24;">
  </div>
  <div id="cancel" style="position:absolute;  z-index:90; left: 433px; top: 385px; visibility: hidden"> 
    <input type="submit" name="btnCancel" onClick="window.close()" MMString:value="Commands/Google_Free_Custom/submit/btnCancel/Cancel" style="width:76; height:24;">
  </div>
</form> 
</html>
