<!-- Begin POP-UP SIZES AND OPTIONS CODE

// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON

// ONLY USE lowercase FOR ALL OPTIONS

var paragraph_1 	= "yes"		// SHOW THE 1ST PARAGRAPH
var paragraph_2 	= "yes"		// SHOW THE 2ND PARAGRAPH
var showimage		= "no"		// SHOW A SIDEBAR IMAGE
var showscroller	= "yes"		// SHOW THE SCROLLER
var scrollspacing	= "20"		// NUDGE SIDEBAR DOWN
var bordercolor		= "9291AA"	// SCROLLER AND IMAGE BORDER COLOR

var showdate		= "yes"		// SHOW THE DATE ON THE PAGE
var dateLR		= "left"	// DATE LEFT OR RIGHT
var dateX		= "10"		// DATE X LOCATION
var dateY		= "164"		// DATE Y LOCATION

var showsearch		= "yes"		// SHOW THE SEARCH FORM
var searchLR		= "left"	// SEARCH FORM LEFT OR RIGHT
var searchX		= "10"		// SEARCH FORM X LOCATION
var searchY		= "210"		// SEARCH FORM Y LOCATION
var searchwidth		= "160"		// WIDTH OF THE SEARCH FORM
var searchtext		= "Web Search"	// TEXT ABOVE SEARCH FORM


// EDIT THE "scroller/scroll.variables0.js" FOR SCROLLER OPTIONS
function validateFrem()
{
if(document.cfrm.txtlogin.value=="")
{
	alert('Please Enter Your Name...');
	document.cfrm.txtlogin.focus();
	return false;
}
else if(document.cfrm.txtlogin2.value==""){
	alert('Please Enter Company');
	document.cfrm.txtlogin2.focus();
	return false;
}
else if(document.cfrm.txtlogin4.value==""){
	alert('Please Enter Telephone No');
	document.cfrm.txtlogin4.focus();
	return false;
}
else if(document.cfrm.txtlogin5.value==""){
	alert('Please Enter Your E mail');
	document.cfrm.txtlogin5.focus();
	return false;
}
else if(document.cfrm.txtlogin5.value!="")
	{
		var con=checkemail(document.cfrm.txtlogin5.value);

		if(con==1)
		{

			return true;
		}
		else
		{

			alert("Please enter correct email address!");
			document.cfrm.txtlogin5.focus()
			return false;
		}
		
	}
else{
return true;
}
}
function checkemail(value)
	{
		var checkStr = value;
		checkemail1=false;
		checkemail2=false;

		for (i = 0;  i < checkStr.length;  i++)
			{
				ch = checkStr.charAt(i);
				if (ch=='.') checkemail1=true;
			}
			for (i = 0;  i < checkStr.length;  i++)
				{
				ch = checkStr.charAt(i);
				if (ch=='@') checkemail2=true;
				}
		if (!(checkemail1 && checkemail2))
					{
					return (false);
					}
		else
					{
						var n=value.length;
						var text='.';
						var i=value.indexOf(text);
						var l=value.lastIndexOf(text);
						var checklen=value.substring(i,n);
						var checklast=value.substring(l,n);
						if (checklen.length<=1 || checklast.length<=1)
							{
							return (false);
							}
						else { return (true);}
						}
	}

// NUDGE SPACER
document.write('<img src="picts/spacer.gif" height="'+scrollspacing+'" width="10"><br>')




// START SIDEBAR AREA PARAGRAPH 1 EDIT THIS AREA

   if (paragraph_1 == "yes") {
   
document.write('<form name="cfrm" method="post" action="contact1.php">')   
document.write('<table align="left" bgcolor="#003307" width="100%" border="1" cellpadding="1">')
document.write('<tr><td align="center">')
document.write('<span class="sidebartext">')
//document.write('We are growing, with new equipment and new test stations added.<br>')
document.write('<b>Contact</b></span><br>')
//document.write('</p></span></td></tr>')
document.write('<table align="left" bgcolor="#003307" width="100%" border="0" cellpadding="1">')
document.write('<tr><td class="sidebartext">')
document.write('Name')
document.write('</td><td>')
document.write('<input type="text" name="txtlogin" value="" size="15" class="searchform">')
document.write('</td></tr>')
document.write('<tr><td class="sidebartext">')
document.write('Company')
document.write('</td><td>')
document.write('<input type="text" name="txtlogin2" value="" size="15" class="searchform">')
document.write('</td></tr>')
document.write('<tr><td class="sidebartext">')
document.write('Phone')
document.write('</td><td>')
document.write('<input type="text" name="txtlogin4" value="" size="15" class="searchform">')
document.write('</td></tr>')
document.write('<tr><td class="sidebartext">')
document.write('E mail')
document.write('</td><td>')
document.write('<input type="text" name="txtlogin5" value="" size="15" class="searchform">')
document.write('</td></tr>')
//document.write('<tr><td class="sidebartext">')
//document.write('&nbsp;')
document.write('<tr><td colspan="2" align="center">')
document.write('<input type="submit" name="btnGo" value="Submit" class="searchbutton1" onClick="return validateFrem()">')
document.write('&nbsp;&nbsp;<input type="reset" name="btngo" value="Clear All" class="searchbutton1">')
document.write('</td></tr>')
document.write('</table>')
document.write('</td></tr>')
document.write('</td></tr>')
document.write('</table>')
document.write('</form>')
document.write('<br><br>')
document.write('<br><br>')


}
// END SIDEBAR AREA PARAGRAPH 1





// SCROLLER CODE
   if (showscroller == "yes") {

document.write('<br><br><br><br><br><br><br><br><TABLE cellpadding="0" cellspacing="0" border="1" height="121" width="150"  bordercolor="#'+bordercolor+'" style="border-collapse:collapse"><tr><td align="center">')
//Tscroll_init (0)
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="150" height="120">')
  document.write('<param name="movie" value="picts/Movie10.swf">')
  document.write('<param name="quality" value="high">')
  document.write('<param name="wmode" value="transparent">')
  document.write('<embed src="picts/Movie10.swf" width="150" height="120" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent">')
  document.write('</embed></object>')
document.write('</td></tr>')
document.write('<tr><td align="center">')
document.write('<a href="y_f.html" target="_blank">')
document.write('Full Screen')
document.write('</a>')
document.write('</td></tr>')
document.write('</table>')
document.write('<br><br>')


}





// SMALL PICTURE AREA
   if (showimage == "yes") {

document.write('<br><TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#'+bordercolor+'" style="border-collapse: collapse"><tr><td>')
document.write('<a href="index.html"><IMG SRC="picts/sidebar.jpg" border="0" width="150"></a><br>')
document.write('</td></tr></table>')
document.write('<br><br>')
}

// START SIDEBAR AREA PARAGRAPH 2 EDIT THIS AREA

   if (paragraph_2 == "yes") {
document.write('<table align="left" bgcolor="#003307" width="100%" border="1" cellpadding="5">')
document.write('<tr><td>')
document.write('<span class="sidebartitle">')

document.write('Highlights:')

document.write('<br></span><span class="sidebartext"><p align="justify">')

//document.write('We can take any size order,from small to large volume, to meet your requirements.')

document.write('</span></p>')
document.write('<span class="sidebartext">')
document.write('<li>ISO 9001') 
document.write('<br><li>JIT & IPC610 Class 2') 
document.write('<br><li>RoHS compliant')
document.write('<br><li>BGA/µBGA expertise')
document.write('<br><li>CSP, SOIC, QFP &nbsp;&nbsp;&nbsp;&nbsp;specialty') 
document.write('<br><li>SMT 0402 placements') 
document.write('<br><li>Turnkey procurement')
document.write('<br><li>Fair price')
document.write('<br><li>On-time delivery') 
document.write('</span>')
document.write('</td></tr>')
document.write('</table>')
}
// END SIDEBAR AREA PARAGRAPH 2

// SEARCH FORM
   if (showsearch == "yes") {

document.write('<div id="search" style="'+searchLR+': '+searchX+'px; POSITION: absolute; TOP: '+searchY+'px; width: auto; z-index: 1;">')
document.write('<TABLE cellpadding="0" cellspacing="2" border="0" width="'+searchwidth+'"><tr><td colspan="2" class="sidebartext">')
document.write(''+searchtext+'<br>')
document.write('</td></tr><tr><td align="left">')
document.write('<form action="search.php" name="f" style="margin: 0px">')
document.write('<input type="hidden" name="anyselected">')
document.write('<input size="15" name="q" value="" class="searchform">&nbsp;<input type=submit value="Go!" name="btnG" class="searchbutton"><br>')
document.write('</form>')
document.write('</td></tr></table>')
document.write('</div>')
}
// START DATE SCRIPT
   if (showdate == "yes") {

document.write('<div id="date-location" style="'+dateLR+': '+dateX+'px; POSITION: absolute; TOP: '+dateY+'px">');
var d=new Date()
var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
document.write("<span class=\"date-font\"><nobr>" + weekday[d.getDay()] + " ")
document.write(d.getDate() + ". ")
document.write(monthname[d.getMonth()] + " ")
document.write(d.getFullYear())
document.write("</nobr><br></span>")
document.write('</div>');

}


// -- END -->