// JavaScript Document

<!-- Begin
//Only Numbers
function OnlyNumbers(e)
{
	var unicode=e.charCode? e.charCode : e.keyCode
	if (unicode!=8)
	{ //if the key isn't the backspace key (which we should allow)
		if (unicode<48||unicode>57) //if not a number
			return false //disable key press
	}
}

//Only Letters
function OnlyLetters(e)
{
	var key = window.event ? e.keyCode : e.which;
	var keychar = String.fromCharCode(key);
	reg = /\d/;
	return !reg.test(keychar);
}

// Preload images
var empty = new Image(); empty.src = "img/fieldempty.gif";
var email = new Image(); email.src = "img/emailerror.gif";

var haveerrors = 0;
function showImage(imagename, imageurl, errors) {
document[imagename].src = imageurl;
if (!haveerrors && errors) haveerrors = errors;
}

function validateForm(f) {

haveerrors = 0;
(f.firstname.value.length < 1) // validate first name length
? showImage("firstnameerror", "img/fieldempty.gif", true)   // no semi-colon after this line!
: showImage("firstnameerror", "img/blankimage.gif", false); // true = errors, false = no errors

(f.organisation.value.length < 1) // validate first name length
? showImage("organisationerror", "img/fieldempty.gif", true)   // no semi-colon after this line!
: showImage("organisationerror", "img/blankimage.gif", false); // true = errors, false = no errors

(f.email.value.search("@") == -1 || f.email.value.search("[.*]") == -1) // validate email
? showImage("emailerror", "img/emailerror.gif", true)
: showImage("emailerror", "img/blankimage.gif", false);

(f.phoneno.value.length < 1) // validate comments length
? showImage("phoneerror", "img/fieldempty.gif", true)
: showImage("phoneerror", "img/blankimage.gif", false);

(f.address.value.length < 1) // validate comments length
? showImage("addresserror", "img/fieldempty.gif", true)
: showImage("addresserror", "img/blankimage.gif", false);

(f.comments.value.length < 1) // validate comments length
? showImage("commentserror", "img/fieldempty.gif", true)
: showImage("commentserror", "img/blankimage.gif", false);

return false;

}
//  End -->
function na_preload_img()
{ 
  var img_list = na_preload_img.arguments;
  if (document.preloadlist == null) 
    document.preloadlist = new Array();
  var top = document.preloadlist.length;
  for (var i=0; i < img_list.length-1; i++) {
    document.preloadlist[top+i] = new Image;
    document.preloadlist[top+i].src = img_list[i+1];
  } 
}

function OpenDisclaimer()
{
   window.open('Disclaimer.html',"popup","width=400, height=420,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}

<!--

var x,y
var step=15
var flag=0

var message="stbookwala.com "
message=message.split("")

var xpos=new Array()
for (i=0;i<=message.length-1;i++)
{
	xpos[i]=-50
}

var ypos=new Array()
for (i=0;i<=message.length-1;i++)
{
	ypos[i]=-50
}

function handlerMM(e)
{
	x = (document.layers) ? e.pageX : document.body.scrollLeft+event.clientX
	y = (document.layers) ? e.pageY : document.body.scrollTop+event.clientY
	flag=1
}

function makesnake()
{
	if (flag==1 && document.all)
	{
    		for (i=message.length-1; i>=1; i--)
		{
   			xpos[i]=xpos[i-1]+step
			ypos[i]=ypos[i-1]
    		}
		xpos[0]=x+step
		ypos[0]=y

		for (i=0; i<message.length-1; i++)
		{
    			var thisspan = eval("span"+(i)+".style")
	    		thisspan.posLeft=xpos[i]
			thisspan.posTop=ypos[i]
	    	}
	}

	else if (flag==1 && document.layers)
	{
    		for (i=message.length-1; i>=1; i--)
		{
   			xpos[i]=xpos[i-1]+step
			ypos[i]=ypos[i-1]
	    	}
		xpos[0]=x+step
		ypos[0]=y

		for (i=0; i<message.length-1; i++)
		{
    			var thisspan = eval("document.span"+i)
	    		thisspan.left=xpos[i]
			thisspan.top=ypos[i]
    		}
	}
		var timer=setTimeout("makesnake()",30)
}
// Mail this page
function mailpage()
{
  mail_str = "mailto:?subject= Quality Products " + document.title;
  mail_str += "&body= I recommend these Products (yourdomain.com) tip -- " + document.title;
  mail_str += ". You should check this out at, " + location.href; 
  location.href = mail_str;
}

// <div align="center"><A HREF = "javascript:mailpage()">E-mail This Page</A></div>
// copy the same on main page

//Products
//Telephone Pocket Size
function Opentps001()
{
   window.open('tps001.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps002()
{
   window.open('tps002.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps003()
{
   window.open('tps003.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps004()
{
   window.open('tps004.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps005()
{
   window.open('tps005.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps006()
{
   window.open('tps006.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps007()
{
   window.open('tps007.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps008()
{
   window.open('tps008.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps009()
{
   window.open('tps009.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps010()
{
   window.open('tps010.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps011()
{
   window.open('tps011.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps012()
{
   window.open('tps012.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps013()
{
   window.open('tps013.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps014()
{
   window.open('tps014.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps015()
{
   window.open('tps015.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps016()
{
   window.open('tps016.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps017()
{
   window.open('tps017.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentps018()
{
   window.open('tps018.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
//Telephone Medium Size
function Opentms001()
{
   window.open('tms001.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentms002()
{
   window.open('tms002.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentms003()
{
   window.open('tms003.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentms004()
{
   window.open('tms004.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentms005()
{
   window.open('tms005.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}function Opentms006()
{
   window.open('tms006.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}function Opentms007()
{
   window.open('tms007.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentms008()
{
   window.open('tms008.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentms009()
{
   window.open('tms009.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentms010()
{
   window.open('tms010.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentms011()
{
   window.open('tms011.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
//Telephone Large Size
function Opentls001()
{
   window.open('tls001.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentls002()
{
   window.open('tls002.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentls003()
{
   window.open('tls003.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentls004()
{
   window.open('tls004.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentls005()
{
   window.open('tls005.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentls006()
{
   window.open('tls006.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentls007()
{
   window.open('tls007.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentls008()
{
   window.open('tls008.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opentls009()
{
   window.open('tls009.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
//Executive Notebooks Pocket Size
function Opennps001()
{
   window.open('nps001.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opennps002()
{
   window.open('nps002.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
//Executive Notebooks Medium Size
function Opennms001()
{
   window.open('nms001.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opennms002()
{
   window.open('nms002.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
//Executive Notebooks Large Size
function Opennls001()
{
   window.open('nls001.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opennls002()
{
   window.open('nls002.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
//Non-Executive Notebooks Pocket Size
function Openneps001()
{
   window.open('neps001.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Openneps002()
{
   window.open('neps002.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Openneps003()
{
   window.open('neps003.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Openneps004()
{
   window.open('neps004.html',"popup","width=500, height=500,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
//Non-Executive Notebooks Medium Size
function Opennems001()
{
   window.open('nems001.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Opennems002()
{
   window.open('nems002.html',"popup","width=500, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
//Labels
function Openlabel001()
{
   window.open('label001.html',"popup","width=750, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
function Openlabel002()
{
   window.open('label002.html',"popup","width=600, height=510,top=0,left=0,toolbar=no,directories=no,menu=no,location=no,scrollbars=yes,fullscreen=no");
}
//-->