function openWin(pagename){
		microsite_window=window.open(pagename,'microsite_window','toolbar=no,location=no,borders=no,directories=no,status=no,menubar=no,scrollbars=no,top=0,left=0,resizable=no,width=10,height=10')
	}
<!-- Begin
var win = null;
function newWindow(mypage,myname,w,h,features) {
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
  settings += features;
  win = window.open(mypage,myname,settings);
  win.window.focus();
}
//  End -->
//javascript:newWindow('downloads.asp','','600','420')
	function test(obj,msg) {
		  var regex = /^[a-zA-Z0-9._-]+@([a-zA-Z0-9.-]+\.)+[a-zA-Z0-9.-]{2,4}$/;
		  if (regex.test(obj.value))
		  {
			return true;
		  }
		  else{
			alert(msg);
			obj.focus();
			return false;
		  }
		}

	function checkempty(obj,msg)
	{
	 if(obj.value=="")
	 {
	  alert(msg);
	  obj.focus();
	  return false;
	 }
	}
	function checkint(obj,msg)
	{
	 if(isNaN(obj.value))
	 {
	  alert(msg);
	  obj.focus();
	  return false;
	 }
	}
function confirmPassword(obj,obj1,msg)
{
 if(!(obj.value==obj1.value))
 {
  alert(msg);
  obj.focus();
  return false;
 }
}
function isnumber(obj,msg)
{
 if(isNaN(obj.value))
 {
  alert(msg);
  obj.focus();
  return false;
 }
}
	function checksForm()
	{
		if (checkempty(document.frmsearch.txtsearch,"Search Information - Enter Search words")==false) return false;
		return true;
	}
	function checkfForm()
	{
		if (checkempty(document.frmfeed.name,"Contact Information - Enter Name")==false) return false;
		if (test(document.frmfeed.email,"Contact Information - Email Address Is Required")==false) return false;
//		if (checkempty(document.frmfeed.comments,"Contact Information - Enter Comments")==false) return false;
		return true;
	}
	function chkqty()
	{
		if (checkempty(document.frmadd.qty,"Information - Enter Quantity")==false) return false;
		return true;
	}
	function checkicForm()
	{
		if (checkempty(document.frmCon.fname,":::...Enter Your Full Name...:::")==false) return false;
		if (checkempty(document.frmCon.company,":::...Enter Your Company Name...:::")==false) return false;
		if (test(document.frmCon.email,":::...Email Address Is Required...:::")==false) return false;
		return true;
	}
	function checkForm()
	{
		if (checkempty(document.frmcatalogue.name,"Catalogue Information - Enter Your Name")==false) return false;
		if (checkempty(document.frmcatalogue.company,"Catalogue Information - Enter Your Compnay Name")==false) return false;
		if (checkempty(document.frmcatalogue.phone,"Catalogue Information - Enter Your Phone")==false) return false;
		if (test(document.frmcatalogue.email,"Catalogue Information - Email Address Is Required")==false) return false;
		if (checkempty(document.frmcatalogue.mailing,"Catalogue Information - Enter Your Mailing Address")==false) return false;
		return true;
	}
	function checkfeedForm()
	{
		if (checkempty(document.frmfeed.name,"Contact Information - Enter Name")==false) return false;
		if (test(document.frmfeed.email,"Contact Information - Email Address Is Required")==false) return false;
		if (checkempty(document.frmfeed.comments,"Contact Information - Enter Comments")==false) return false;
		return true;
	}
	function checkinqForm()
	{
		if (checkempty(document.form1.txtname,"Inquiry Information - Enter Contact Person Name")==false) return false;
		if (checkempty(document.form1.txtcompany,"Inquiry Information - Enter Company Name")==false) return false;		
		if (checkempty(document.form1.txttel,"Inquiry Information - Enter Your Phone No.")==false) return false;
		if (checkempty(document.form1.txtfax,"Inquiry Information - Enter Your Fax No.")==false) return false;
		if (test(document.form1.txtemail,"Inquiry Information - Email Address Is Required")==false) return false;
		if (checkempty(document.form1.txtaddress,"Inquiry Information - Enter Your Address")==false) return false;
		return true;
	}
	function checkinqForm1()
	{
		if (checkempty(document.form1.fname,"Inquiry Information - Enter Contact Person Name")==false) return false;
		if (checkempty(document.form1.company,"Inquiry Information - Enter Company Name")==false) return false;		
		if (checkempty(document.form1.ph,"Inquiry Information - Enter Your Phone No.")==false) return false;
		if (checkempty(document.form1.fax,"Inquiry Information - Enter Your Fax No.")==false) return false;
		if (test(document.form1.email,"Inquiry Information - Email Address Is Required")==false) return false;
		if (checkempty(document.form1.address,"Inquiry Information - Enter Your Address")==false) return false;
		return true;
	}
	function chksubscribe()
	{
		if (test(document.frmsubscribe.txtsubscribe,"Email Subscribe! - id@domainname.com")==false) return false;
		return true;
	}
	
	
	
	///////////////////////////////////////////////////////////////////////////
// History Go Back
// History Go Forward
// Set as HomePage
// Add Favorite
// Fade in Fadeout animation
// For Search
// No Right Click
// Rain Bow Color
// On Selection of Text
// Open window
// Input Box Color Change
// Form Validation 
// Roll over in Form Page
// Text Box with Limitation
// Search Box Color Change

//////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////
// History Go Back
//////////////////////////////////////////////////////////////////////////
// <!-- Will send the browser back one page.Use 0 to reload the current page. -->
// <Script Language="JavaScript"><!-- Begin history.go(1)// End --></Script>

//////////////////////////////////////////////////////////////////////////



/////////////////////////////////////////////////////////////////////////
// History Go Forward
//////////////////////////////////////////////////////////////////////////
// <!-- Will send the browser forward one page.Use 0 to reload the current page. -->
// <Script Language="JavaScript"><!-- Begin history.go(-1)// End --></Script>
//////////////////////////////////////////////////////////////////////////



/////////////////////////////////////////////////////////////////////////
// Set as HomePage
//////////////////////////////////////////////////////////////////////////
// <A href="javascript:history.go(0)" onClick="javascript:this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.YourLink.com');" TARGET="_self">Set As HomePage</A></SCRIPT>
//////////////////////////////////////////////////////////////////////////




/////////////////////////////////////////////////////////////////////////
// Add to Favorite
//////////////////////////////////////////////////////////////////////////
// <A href="javascript:window.external.AddFavorite('http://YourLink.com','Your WebPage Title')">add To Favourites</a>
//////////////////////////////////////////////////////////////////////////



///////////////////////////////////////////////////////////////////////////
// Fadein Fadeout animation
// <body onLoad="runSlideShow()" > 
// <IMG SRC="images/q_25.jpg" name='SlideShow' WIDTH=532 HEIGHT=182 ALT="">
//////////////////////////////////////////////////////////////////////////
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 3000;
// Duration of crossfade (seconds)
var crossFadeDuration = 10;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/q_25.jpg'
Pic[1] = 'images/ani2.jpg'
Pic[2] = 'images/ani.jpg'



// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
///////////////////////////////////////////////////////////////////////////
// For Search 
// tips_form.js
//////////////////////////////////////////////////////////////////////////
// Tipue 1.53


// ---------- script properties ----------


var results_location = "results.asp";


// ---------- end of script properties ----------


function search_form(tip_Form) {
	if (tip_Form.d.value.length > 0) {
		document.cookie = 'd=' + escape(tip_Form.d.value) + '; path=/';
		document.cookie = 'n=0; path=/';
		window.location = results_location;
	}
}
///////////////////////////////////////////////////////////////////////////
// No Right Click
//////////////////////////////////////////////////////////////////////////


/*
(c) UNAS Jee / www.geocities.com/unasjee / unasjee@hotmail.com
*/

function NSclick(e) {
	if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)==4) { 
		if (e.which == 3) {
			return false;
		}
	}
	if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=5) { 
    		if (e.button == 2 || e.button == 3) {
      			e.preventDefault();
			return false;
  		}
	}
}

if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)==4) { 
	document.onmousedown=NSclick;
	document.captureEvents(Event.MOUSEDOWN);
}
if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)>=5) { 
	document.onmouseup=NSclick;
}
if (navigator.appName=="Microsoft Internet Explorer") { 
	document.oncontextmenu = new Function("return false;")
}






//=============================================================================
// Change Color
//  This function changes a color actually.
//=============================================================================
function ChangeColor()
{
    objActive.style.color = makeColor();
}


//=============================================================================
// makeColor
//  This function makes rainbow colors.
//=============================================================================
function makeColor()
{
    // Don't you think Color Gamut to look like Rainbow?

    // HSVtoRGB
    if (elmS == 0) {
        elmR = elmV;    elmG = elmV;    elmB = elmV;
    }
    else {
        t1 = elmV;
        t2 = (255 - elmS) * elmV / 255;
        t3 = elmH % 60;
        t3 = (t1 - t2) * t3 / 60;

        if (elmH < 60) {
            elmR = t1;  elmB = t2;  elmG = t2 + t3;
        }
        else if (elmH < 120) {
            elmG = t1;  elmB = t2;  elmR = t1 - t3;
        }
        else if (elmH < 180) {
            elmG = t1;  elmR = t2;  elmB = t2 + t3;
        }
        else if (elmH < 240) {
            elmB = t1;  elmR = t2;  elmG = t1 - t3;
        }
        else if (elmH < 300) {
            elmB = t1;  elmG = t2;  elmR = t2 + t3;
        }
        else if (elmH < 360) {
            elmR = t1;  elmG = t2;  elmB = t1 - t3;
        }
        else {
            elmR = 0;   elmG = 0;   elmB = 0;
        }
    }

    elmR = Math.floor(elmR).toString(16);
    elmG = Math.floor(elmG).toString(16);
    elmB = Math.floor(elmB).toString(16);
    if (elmR.length == 1)    elmR = "0" + elmR;
    if (elmG.length == 1)    elmG = "0" + elmG;
    if (elmB.length == 1)    elmB = "0" + elmB;

    elmH = elmH + rate;
    if (elmH >= 360)
        elmH = 0;

    return '#' + elmR + elmG + elmB;
}

///////////////////////////////////////////////////////////////////////////
// On Selection of Text
//////////////////////////////////////////////////////////////////////////
function disableselect(e){
return false
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}

///////////////////////////////////////////////////////////////////////////
// Open window
//////////////////////////////////////////////////////////////////////////
function openwindow(open){
window.open(open,"Popup","toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, width=550, height=465, top=0, left=0")
}



































