// Pico Search box
function PicoSearch() {
document.write('<table cellspacing="0" cellpadding="0" border="0">');
document.write('<tr><td>');
document.write('<form style="margin:0;" method="get" action="http://www.picosearch.com/cgi-bin/ts.pl" onsubmit="return FrontPage_Form1_Validator(this)" name="FrontPage_Form1">');
document.write('<input type="hidden" name="index" value="511839" />');
document.write('<table cellspacing="2" cellpadding="0" border="0">');
document.write('<tr><td></td>');
document.write('<td><!--webbot bot="Validation" S-Display-Name="Search" S-Data-Type="String"');
document.write('  B-Allow-Letters="TRUE" B-Allow-Digits="TRUE" B-Allow-WhiteSpace="TRUE"');
document.write('  B-Value-Required="TRUE" I-Minimum-Length="1" I-Maximum-Length="50" -->');
document.write('<input type="text" name="query"  value="" size="20" maxlength="50" /></td>');
document.write('<td><span style="white-space: nowrap;"><input type="submit" value="Search" name="search" /></span></td></tr>');
document.write('<tr><td></td><td align="right" colspan="2"><span style="font-size:small" color="#FFFFFF">');
document.write('<a href="http://www.picosearch.com/cgi-bin/index.pl?wherefrom=picobox&amp;type=all"><font color="#FFFF00">');
document.write('Site Search by PicoSearch</font></a>.  <a href="//www.picosearch.com/cgi-bin/ts.pl?index=511839&amp;help=help">');
document.write('<font color="#FFFF00">Help</font></a></span></td></tr>');
document.write('</table>');
document.write('</form></td></tr></table>');
}

// Pico Search box with black text
function PicoBlack() {
document.write('<table cellspacing="0" cellpadding="0" border="0">');
document.write('<tr><td>');
document.write('<form style="margin:0;" method="get" action="http://www.picosearch.com/cgi-bin/ts.pl" onsubmit="return FrontPage_Form1_Validator(this)" name="FrontPage_Form1">');
document.write('<input type="hidden" name="index" value="511839" />');
document.write('<table cellspacing="2" cellpadding="0" border="0">');
document.write('<tr><td></td>');
document.write('<td><!--webbot bot="Validation" S-Display-Name="Search" S-Data-Type="String"');
document.write('  B-Allow-Letters="TRUE" B-Allow-Digits="TRUE" B-Allow-WhiteSpace="TRUE"');
document.write('  B-Value-Required="TRUE" I-Minimum-Length="1" I-Maximum-Length="50" -->');
document.write('<input type="text" name="query"  value="" size="20" maxlength="50" /></td>');
document.write('<td><span style="white-space: nowrap;"><input type="submit" value="Search" name="search" /></span></td></tr>');
document.write('<tr><td></td><td align="right" colspan="2"><span style="font-size:small">');
document.write('<a href="http://www.picosearch.com/cgi-bin/index.pl?wherefrom=picobox&amp;type=all">');
document.write('</table>');
document.write('</form></td></tr></table>');
}

//Main Menu
function rightMenu() {
document.write('<td align="right" background="images/orange_bkgd_tile.gif">');
document.write('<font face="Arial" size="2"><a href="http://www.skssales.com/main.sc"><font color="#FFFF00">Catalog</a>&nbsp;|&nbsp;</font>');
document.write('<a href="javascript:doEmail()"><font color="#FFFF00">Email a Friend</a>&nbsp;|&nbsp;</font>');
document.write('<a href="contact-us.asp"><font color="#FFFF00">Contact Us</a>&nbsp;|&nbsp;</font>');
document.write('<a href="http://www.skssales.com/viewcart.sc"><font color="#FFFF00">Shopping Cart</a>&nbsp;&nbsp;</font>');
document.write('</td>');
} 

//Contact Us Section
function mailSKS() {
document.write('<p align="center"><img src="images/green_spacer.gif" width="400" border="0" height="5"></p>');
document.write('<p><font face="Arial"><strong><font size="3"><span style="color: rgb(204, 102, 0);">More Information</span><br>');
document.write('</font></strong><font size="3">If you would like more information about our products, ');
document.write('contact us using our ');
document.write('convenient online form. <a href="https://www.smartkeyboardsolutions.com/contact-us.asp">');
document.write('<span style="text-decoration: underline">Contact us</span></a>.</font></font></p>');
document.write('<p><font face="Arial"><strong><font size="3"><span style="color: rgb(204, 102, 0);">');
document.write('Reseller Purchasing</span></font></strong><font size="3"><span style="text-decoration: underline;"><strong><br>');
document.write('</strong></span>Reseller inquiries are welcome for all of our products. To receive reseller pricing, ');
document.write('please complete our online <span style="color: rgb(0, 0, 255);">');
document.write('<a href="https://www.smartkeyboardsolutions.com/request-reseller.asp"><span style="text-decoration: underline;">Reseller');
document.write('Request for Information</span></a></span><font color="#000000"> form</font>.</font></font></p>');
document.write('<p><font size="3" face="Arial"><strong><span style="color: rgb(204, 102, 0);">Government Purchasing</span><br>');
document.write('</strong>Smart Keyboard Solutions is a 100% woman owned small business that qualifies it for many ');
document.write('government purchasing programs. If you would like information about government ');
document.write('purchasing and discounts, please complete our online ');
document.write('<a href="https://www.smartkeyboardsolutions.com/request-govt.asp"><span style="text-decoration: underline;">');
document.write('Goverment Information Request</span></a> form.</font></p>');
}

// Bottom navigation menu
function bottMenu() {
document.write('<td width="100%" colspan="2" height="19">');
document.write('<p align="center"><font size="3" face="Arial"><a href="http://www.skssales.com/main.sc"><font color="#008000">Shopping ');
document.write('Cart</a> | </font><a href="about-us.htm"><font color="#008000">About Us</font></a>');
document.write('&nbsp; |&nbsp; <a href="disclaimer-page.htm"><font color="#008000">Disclaimer</font></a>&nbsp;');
document.write('| <a href="https://www.smartkeyboardsolutions.com/request-info.asp"><font color="#008000">Information Request</font></a>');
document.write('&nbsp; |&nbsp; <a href="privacy-policy.htm"><font color="#008000">Privacy Policy</font></a>&nbsp; |&nbsp; <a href="warranty-returns.htm">');
document.write('<font color="#008000">Warranty and Returns</font></a> |&nbsp; <a href="https://www.smartkeyboardsolutions.com/general-shipping-info.htm">');
document.write('<font color="#008000">Shipping Info</font> </a> </font><b>');
document.write('<font face="Arial" size="3"><br>Smart Keyboard Solutions</font></b><font face="Arial" size="2"><br>');
document.write('4450 E McDowell Rd, Suite #D-115 - Phoenix, AZ 85008<br>');
document.write('Phone: 877-477-1988 - 602-275-1988 - Fax: 602-275-4088</font> <a href="sitemap.htm"><font color="#008000"><br>');
document.write('</font></a><font face="Arial" size="1">© Copyright 2010. Smart Keyboard Solutions. All rights reserved.</font><br>');
document.write('<img border="0" src="images/cred-cards.gif" width="236" height="26"></p></td>');
}

/// Check all elements in general mail module; if OK, then mail the form data
function genMail(form) {
	Flag=false;
	isName(form);
	isState(form);
	isPhone(form);
	isEmail(form);

	if((isName(form) && isEmail(form)) && (isPhone(form) && isState(form))) {
            Flag = true;
	}
	if((isName(form) == false || isEmail(form) == false) || (isPhone(form) == false || isState(form) == false)) {
             Flag = false;

// Display the fields that are incorrect if the form didn't send
	var text = "Incorrect or missing input in these required fields:\n";
	if(isName(form) == false) {
		text += "\nName";
	}
      if (isState(form) == false) {
            text += "\nState";
      }
	if (isPhone(form) == false) {
		text += "\nPhone number";
	}
	if (isEmail(form) == false) {
		text += "\nEmail address";
	}
      text += "\n\nThis form cannot be submitted."
      alert(text);
	}

	if (Flag == true) {
	    form.onSubmit = "return true";
	}
	else if (Flag != true)
	{
	return false
	}
}

//Mask ordering info
function orderInfo() {
document.write('      <div align="center">');
document.write('        <center>&nbsp;<br>');
document.write('        <table border="1" cellpadding="4" cellspacing="0" bordercolor="#FF0000">');
document.write('          <tr><td>');
document.write('      <p align="left"><font color="#FF0000" size="4" face="Arial"><b>Ordering');
document.write('      and Payment Information</b></font></p>');
document.write('      <p align="left"><font size="3" face="Arial">You may place your order for typing ');
document.write('      masks by telephone (877-477-1988), fax (602-275-4088) or by email. Web ordering is ');
document.write('      not available for typing masks.</font></p>');
document.write('      <p align="left"><font size="3" face="Arial">For typing covers purchases we accept:</font></p>');
document.write('      <ul>');
document.write('        <li>');
document.write('          <p align="left"><font size="3" face="Arial">Approved Purchase Orders</font></li>');
document.write('        <li>');
document.write('          <p align="left"><font size="3" face="Arial">Checks drawn on a school ');
document.write('          or school district account</font></li>');
document.write('        <li>');
document.write('          <p align="left"><font size="3" face="Arial">Visa</font></li>');
document.write('        <li>');
document.write('          <p align="left"><font size="3" face="Arial">Master Card</font></li>');
document.write('        <li>');
document.write('          <p align="left"><font size="3" face="Arial">Discover</font></li>');
document.write('        <li>');
document.write('          <p align="left"><font size="3" face="Arial">American Express</font></li>');
document.write('        <li>');
document.write('          <p align="left"><font size="3" face="Arial">No COD</font></li>');
document.write('      </ul>');
document.write('      <p align="left"><font size="3" face="Arial"><b>Payment Terms</b> (for ');
document.write('      Purchase Orders): Net 30</font></p>');
document.write('      <p align="left"><font face="Arial"><b><font size="3">Shipping:</font></b><font size="3">');
document.write('      We generally ship by UPS ground (no PO boxes). Other shipping methods are ');
document.write('      available upon request.</font></font></p>');
document.write('      <p align="left"><font size="3" face="Arial"><b>Vendor Information</b> (for ');
document.write('      placing orders and/or creating purchase orders)</font></p>');
document.write('      <blockquote>');
document.write('      <p align="left"><font size="3" face="Arial">Smart Keyboard Solutions<br>');
document.write('      4450 E. McDowell Rd., Suite D 115<br>');
document.write('      Phoenix, AZ 85008<br>');
document.write('      Phone: 877-477-1988</font></p>');
document.write('      <p align="left"><font size="3" face="Arial">');
document.write('      Fax: 602-275-4088<br>');
document.write('      Web: www.smartkeyboardsolutions.com</font></p>');
document.write('      </blockquote>');
document.write('      <p align="left"><font size="3" face="Arial">Email: ');
document.write('          <a href="mailto:sales@smartkeyboardsolutions.com">sales@smartkeyboardsolutions.com</a></font></p>');
document.write('              </td></tr></table></center></div>');
document.write('      <div align="center">');
document.write('        <center><p><font size="3" face="Arial"><b>Other Computer Protection Products</b></font></p>');
document.write('        <table border="1" cellpadding="4" cellspacing="0">');
document.write('          <tr>');
document.write('            <td align="center"><a href="keyboard-covers.htm"><img border="0" src="images/cover-keyboard-std.jpg" width="90" height="90"></a><br>');
document.write('              <font size="3" face="Arial"><a href="keyboard-covers.htm">Keyboard<br>');
document.write('              Covers</a></font></td>');
document.write('            <td align="center"><a href="keyboard-covers.htm"><img border="0" src="images/cover-laptop-std.jpg" width="90" height="90"></a><br>');
document.write('              <font face="Arial" size="3"><a href="keyboard-covers.htm">Laptop<br>');
document.write('              Covers</a></font></td>');
document.write('            <td align="center"><a href="screen-protectors.htm"><img border="0" src="images/cover-screen-std.jpg" width="90" height="90"></a><br>');
document.write('              <font size="3" face="Arial"><a href="screen-protectors.htm">Screen<br>');
document.write('              Protectors</a></font></td>');
document.write('          </tr></table></center></div>');
}

function stickerInfo() {
document.write('<div align="left">');
document.write('<table border="1" cellpadding="4" cellspacing="0">');
document.write('<tr><td>');
document.write('<p><font face="Arial" size="3"><b>Product Description');
document.write('<img border="0" src="images/label-explanation-pic-sks.gif" align="right" width="375" height="335"></b></font></p>');
document.write('<ul>');
document.write('  <li><font face="Arial" size="3">We use a silkscreen process that prints the ');
document.write('    letters on the <b><i>underside</i></b> of the label. Your ');
document.write("    fingers don't touch the printing, so the letters will not rub off.</font></li>");
document.write('  <li><font face="Arial" size="3">The labels are printed on high quality Lexan® ');
document.write('    that makes them very durable. The labels can stand up to years of use.</font></li>');
document.write('  <li><font face="Arial" size="3">The labels are self-adhesive and die-cut for ');
document.write('    simple peel-and-stick installation.</font></li>');
document.write('  <li><font face="Arial" size="3">The matte finish Lexan is non-glare at any ');
document.write('    angle.</font></li>');
document.write('  <li><font face="Arial" size="3">The smooth, matte finish is an easy-to-see, ');
document.write('    non-slick surface that feels comfortable for typing.</font></li>');
document.write('  <li><font face="Arial" size="3">Labels are available in different colors. Select the color that best suits your ');
document.write('    keyboard.</font></li>');
document.write('  <li><font face="Arial" size="3">The adhesive will not harm the original ');
document.write('    printing on the keyboard keys.</font></li>');
document.write('  <li><font face="Arial" size="3">If desired, the labels can be easily removed ');
document.write('    without damaging the key.</font></li>');
document.write('  <li><font face="Arial" size="3">The labels are designed to fit standard ');
document.write('    desktop and laptop computer keyboards. If necessary, they can be trimmed ');
document.write('    with scissors prior to application.</font></li>');
document.write('</ul>');
document.write('</td></tr></table></div>');
}

//-->
