//if ((pageName == "") ||(pageName == "Index.htm") ){
//	varPos = "SetDivPosition();"
//} else {
	varPos = "";
//}

document.write ("<html>");
document.write ("<head>");
document.write ("<title>Strattas Software is a Web Application and Product Development company. Outsource, Partnership, Alliance, Business Partners, Consulting Partners, Technology Partners, Referral, Strategic alliance, Profit Sharing</title>");
document.write ("</head>");

//Code to manipulate the position of <div> tag containing the image for "more" on the basis of resolution. 
//Resolution supported 800, 1280, 1200

function SetDivPosition() {
	var LeftPos;
	var TopPos;
	var AddLeftPos;
	var AddTopPos;
	 
	AddTopPos = -4;
	if (window.screen.width == 1280) {
		LeftPos = 379;
		TopPos = 547;
		AddLeftPos = 10;
	} else if (window.screen.width == 1024) {
		LeftPos = 252;
		TopPos = 547;
		AddLeftPos = 3;
	} else {
		LeftPos = 139;
		TopPos = 547;
		AddLeftPos = 3;
	}
	
	//For adjusting position for netscape
	if (navigator.appName == "Netscape") {
		LeftPos = LeftPos + AddLeftPos
		TopPos = TopPos + AddTopPos;
	}
	
	window.document.getElementById('DivMore').style.left = LeftPos;
	window.document.getElementById('DivMore').style.top = TopPos;
}


//functions and variables for Menu display
var ie4=document.all
var ns6=document.getElementById&&!document.all
var menuwidth='175px' //default menu width
var menubgcolor='lightyellow'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?
var MenuName = ""; //Store the menu name
var MenuInvisibleDelay = 1000; // Time duration to make the menu invisible. The value is in milli seconds.

if (ie4||ns6) {
	document.write('<div id="dropmenudiv" style="visibility:hidden; position:absolute; width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
}	

function clearhidemenu(){
	if (typeof (delayhide) != "undefined") {
		clearTimeout(delayhide);
	}	
}

function populatemenu(){
	var MenuTableClass = "menuTable";
	var MenuTdClass = "menuTd";
	var MenuTdClassOver = "menuTdOver"
	var MenuPartition = "menuTdPartition"
	var DisplayCode = "";

	if (MenuName == "Company") { // For Company menu
		//Array to store the display text of the menu
		
		//var MenuItemArr = new Array("Corporate Profile","Our Advantage","Technical Expertise","FAQ","Contact Us","Quality Policy","Jobs","Testimonial","Clients","Partners","Support");
		
		var MenuItemArr = new Array("Corporate Profile","Our Advantage","Partners","Contact Us");
		
		//Array to store the name of the page to be linked
		//var MenuItemLinkArr = new Array("CorporateProfile.htm","OurAdvantage.htm","TechnicalExpertise.htm","FAQ.htm","ContactUs.htm", "QualityPolicy.htm","Jobs.htm","Testimonial.htm","Clients.htm","Partners.htm","Support.htm");
		
		var MenuItemLinkArr = new Array("CorporateProfile.htm","OurAdvantage.htm","Partners.htm","ContactUs.htm");
		
	} else if (MenuName == "Solutions") { // For Solutions menu
		//Array to store the display text of the menu
		
		//var MenuItemArr = new Array("Web Application Development","Website Design & Development","Web Modules","Project / Resource Management","Oracle Apps and Conversion","Shopping Sites","Deliverables","IT & Business Consulting","Business Process Outsourcing","Product Development","PDA Development");
		var MenuItemArr = new Array("Application Development","Product Development","PDA Development","Business Process Outsourcing");

		//Array to store the name of the page to be linked
		//var MenuItemLinkArr = new Array("WebApplicationDev.htm","WebsiteDesignDev.htm","WebModules.htm","ProjectResouceMang.htm","OracleAppsConversion.htm", "ShoppingSites.htm","Deliverables.htm","ITBusinessCons.htm","BusinessProcessOutsourcing.htm","ProductDev.htm","PDADev.htm");
		var MenuItemLinkArr = new Array("WebApplicationDev.htm","ProductDev.htm","PDADev.htm","BusinessProcessOutsourcing.htm");
		
	} else if (MenuName == "Technical Expertise") { // For Technical Expertise menu
		//Array to store the display text of the menu
		var MenuItemArr = new Array("Technologies","Methodology");

		//Array to store the name of the page to be linked
		var MenuItemLinkArr = new Array("Technologies.htm","ApproachMethodology.htm");
	} else if (MenuName == "Outsourcing") { // For Outsourcing menu
		//Array to store the display text of the menu
		var MenuItemArr = new Array("Benefits of Outsourcing","Enquiry Form");

		//Array to store the name of the page to be linked
		var MenuItemLinkArr = new Array("BenefitsOfOutsourcing.htm","EnquiryForm.htm");
		
	} else if (MenuName == "Clients") { // For Portfolio menu
		//Array to store the display text of the menu
		//var MenuItemArr = new Array("Websites","Web Applications");
		var MenuItemArr = new Array();

		//Array to store the name of the page to be linked
		//var MenuItemLinkArr = new Array("Websites.htm","WebApps.htm");
	}

	//Code to display the menu
	DisplayCode = "<table id='MenuTable' cellpadding=0 cellspacing=0>";

	for (var i=0; i<MenuItemArr.length; i++) {
		DisplayCode = DisplayCode + "<tr><td id='submenu_" + i + "' class=" + MenuTdClass + " onmouseover='this.className=\"" + MenuTdClassOver + "\";' onmouseout='this.className=\"" + MenuTdClass + "\";' onclick='window.location.href=\"" + MenuItemLinkArr[i] + "\"' style=\"cursor:pointer;cursor:hand\">" + MenuItemArr[i] + "</td>";
		if (i !=  MenuItemArr.length-1) {
			DisplayCode = DisplayCode + "</tr><tr><td height=1 class=" + MenuPartition + "></td></tr>";
		}
	}
	DisplayCode = DisplayCode + "</table>";

	if (ie4||ns6) { 
		dropmenuobj.innerHTML = DisplayCode;
	}
}

function dropdownmenu(StrMenu, obj, e, PosX, PosY){
	MenuName = StrMenu;
	
	if (window.event) {
		event.cancelBubble=true;
	} else if (e.stopPropagation) {
		e.stopPropagation();
	}	
	
	clearhidemenu(); 
	
	dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv ;
	populatemenu();

	diff = (parseInt(obj.getBoundingClientRect().left) + parseInt(menuwidth)) - (parseInt(firstTable.offsetLeft) + parseInt(firstTable.width))
	if (Math.abs(diff) != diff) {diff = 0} else {diff = diff - 10}

	if (ie4||ns6){
		showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
		dropmenuobj.style.left = (obj.getBoundingClientRect().left - 10) - diff;
		dropmenuobj.style.top = PosY;
	}
}

function showhide(obj, e, visible, hidden, menuwidth){
	if (e.type == "click" && obj.visibility == hidden || e.type == "mouseover") {
		obj.visibility = visible;
	} else if (e.type == "click") { 
		obj.visibility = hidden;
	}	
}

function hidemenu(){
	if (typeof(dropmenuobj) != "undefined"){
		if (ie4||ns6) {
			dropmenuobj.style.visibility="hidden"
		}	
	}
}

function delayhidemenu(){
	if (ie4||ns6) {
		delayhide=setTimeout("hidemenu()", MenuInvisibleDelay)
	}	
}

function contains_ns6(a, b) {
	while (b.parentNode) {
		if ((b = b.parentNode) == a) {
			return true;
		}
	}		
	return false;
}

function dynamichide(e){
	if (ie4&&!dropmenuobj.contains(e.toElement)) {
		delayhidemenu();
	} else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget)) {
		delayhidemenu();
	}	
}

//End of functions for Menu display

function OpenPage()
{
	var PageName
	
	PageName = document.frmTopForm.cmbList.options[document.frmTopForm.cmbList.selectedIndex].value ;
	
	if (PageName != '0')
	{
		window.location.href = PageName ;
	}
	
}

/*
function emptyField(theField)
{
	theField.value = "";
}

function ValidateEntries(frm, Action) {

	if (CheckField(true, frm.txtName, 'Text', 'Name', 0, false) == 'Error'||
		CheckField(true, frm.txtEmail, 'Email', 'Email', 0, false) == 'Error'||
		CheckField(true, frm.txtComments, 'Text', 'Comments', 0, false) == 'Error'){
		return false;
	}
	return true;
}
*/

document.write ("<body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' onLoad='clock();oCMenu.resized();" + varPos + "'>");
document.write ("<link rel='stylesheet' type='text/css' href='include/style.css'>");
document.write ("<div align='center'>");
document.write ("  <center>");
document.write ("  <table id='firstTable' border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' width='760'>");
document.write ("    <tr>");
document.write ("      <td><a href='Index.htm'><img border='0' src='images/CompanyLogo.gif' width='186' height='78' alt='Strattas Software'></a></td>");
document.write ("      <td background='images/DotLine.gif' width='575' align='right' valign='top'>");
document.write ("      <table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' width='220'>");
document.write ("        <form name='frmTopForm' method='post' onSubmit='return goToPage(this);'>");
document.write ("        <tr>");
document.write ("          <td height='61' align='Left' width='161'>");
document.write ("          <select size='1' name='cmbList' class='InputField' onChange='javascript:OpenPage();' style='width: 200'>");
document.write ("           <option selected value='0'>Make a selection</option>");
document.write ("           <option value='Index.htm'>Home Page</option>");
document.write ("           <option value='CorporateProfile.htm'>Company</option>");
document.write ("          	<option value='CorporateProfile.htm'>&nbsp;&nbsp;- Corporate Profile</option>");
document.write ("          	<option value='OurAdvantage.htm'>&nbsp;&nbsp;- Our Advantage</option>");
document.write ("          	<option value='Partners.htm'>&nbsp;&nbsp;- Partners</option>");
document.write ("          	<option value='ContactUs.htm'><font size=-1>&nbsp;&nbsp;- Contact Us</font></option>");
document.write ("            <option value='WebApplicationDev.htm'>Solutions</option>");
document.write ("          	<option value='WebApplicationDev.htm'>&nbsp;&nbsp;- Application Development</option>");
document.write ("          	<option value='WebApplicationDev.htm'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Web Applications</option>");
document.write ("          	<option value='OnlineRetailing.htm'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Online Retailing</option>");
document.write ("          	<option value='WebsiteDesignDev.htm'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Website Designing </option>");
document.write ("          	<option value='WebModules.htm'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Web Modules</option>");
document.write ("          	<option value='ProductDev.htm'>&nbsp;&nbsp;- Product Development</option>");
document.write ("          	<option value='ProjectResouceMang.htm'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Project Management</option>");
document.write ("          	<option value='StrattasOfficeManager.htm'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Strattas Office Manager</option>");
document.write ("          	<option value='Ergonomics.htm'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- Ergonomics</option>");
document.write ("          	<option value='PDADev.htm'>&nbsp;&nbsp;- PDA Development</option>");
document.write ("          	<option value='BusinessProcessOutsourcing.htm'>&nbsp;&nbsp;- Business Process Outsourcing</option>");
document.write ("            <option value='Technologies.htm'>Technical Expertise</option>");
document.write ("          	<option value='Technologies.htm'>&nbsp;&nbsp;- Technologies</option>");
document.write ("          	<option value='ApproachMethodology.htm'>&nbsp;&nbsp;- Methodology</option>");
document.write ("            <option value='BenefitsOfOutsourcing.htm'>Outsourcing</option>");
document.write ("          	<option value='BenefitsOfOutsourcing.htm'>&nbsp;&nbsp;- Benefits of Outsourcing</option>");
document.write ("          	<option value='EnquiryForm.htm'>&nbsp;&nbsp;- Enquiry Form</option>");
document.write ("            <option value='Clients.htm'>Clients</option>");
//document.write ("          	<option value='Referrals.htm'>&nbsp;&nbsp;- Referrals</option>");
document.write ("          </select></td>");
document.write ("          <td width='10'>");

document.write ("        </td></tr>");
document.write ("        </form>");
document.write ("        <tr>");
document.write ("          <td colspan='2'>");
document.write ("          <map name='FPMap0'>");
document.write ("			<area href='Index.htm' shape='rect' coords='0, 0, 56, 16'>");
document.write ("			<area href='SiteMap.htm' shape='rect' coords='56, 0, 118, 16'>");
document.write ("			<area href='ContactUs.htm' shape='rect' coords='118, 0, 194, 16'>");
document.write ("			<area href='Jobs.htm' shape='rect' coords='193, 0, 239, 16'></map>");
document.write ("          <img border='0' src='images/TopLinks.gif' usemap='#FPMap0'></td>");
document.write ("        </tr>");
document.write ("      </table>");
document.write ("      </td>");
document.write ("    </tr>");
document.write ("    <tr>");

document.write ("      <td colspan='2' height='36' background='images/BlueLineBg.gif' align='right' valign='top'>");
document.write ("      <table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111'>");
document.write ("        <tr>");
document.write ("		  <td align='left' valign='top' width='180' nowrap>");
document.write ("			<div id='pendule1' name='pendule1' class='LinkDate' style='margin-top: 6'></div>");
document.write ("			<span id='pendule' class='LinkDate'></span></td>");
document.write ("          <td align='left' width='23'>");
document.write ("          <img border='0' src='images/NaviCurve.gif' width='22' height='36'></td>");
document.write ("          <td width='75' align='center' valign='top'></td>");
document.write ("          <td align='left' width='23'>");
document.write ("          <img border='0' src='images/NaviCurve.gif' width='22' height='36'></td>");
document.write ("          <td width='75' align='center' valign='top'></td>");
document.write ("          <td align='left' width='23'>");
document.write ("          <img border='0' src='images/NaviCurve.gif' width='22' height='36'></td>");
document.write ("          <td width='135' align='center' valign='top'></td>");
document.write ("          <td align='left' width='22'>");
document.write ("          <img border='0' src='images/NaviCurve.gif' width='22' height='36'></td>");
document.write ("          <td width='90' align='center' valign='top'></td>");
document.write ("          <td align='left' width='23'>");
document.write ("          <img border='0' src='images/NaviCurve.gif' width='22' height='36'></td>");
document.write ("          <td width='76' align='center' valign='top'>");
document.write ("          </td>");
document.write ("        </tr>");
document.write ("      </table>");
document.write ("      </td>");

/*
document.write ("      <td colspan='2' height='36' background='images/BlueLineBg.gif' align='right' valign='top'>");
document.write ("      <table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111'>");
document.write ("        <tr>");
document.write ("		  <td align='left' valign='top' width='180' nowrap>");
document.write ("			<div id='pendule1' name='pendule1' class='LinkDate' style='margin-top: 6'></div>");
document.write ("			<span id='pendule' class='LinkDate'></span></td>");
document.write ("          <td align='left' width='23'>");
document.write ("          <img border='0' src='images/NaviCurve.gif' width='20' height='36'></td>");
document.write ("          <td width='75' align='center' valign='top'></td>");
document.write ("          <td align='left' width='23'>");
document.write ("          <img border='0' src='images/NaviCurve.gif' width='20' height='36'></td>");
document.write ("          <td width='75' align='center' valign='top'></td>");
document.write ("          <td align='left' width='23'>");
document.write ("          <img border='0' src='images/NaviCurve.gif' width='20' height='36'></td>");
document.write ("          <td width='135' align='center' valign='top'></td>");
document.write ("          <td align='left' width='22'>");
document.write ("          <img border='0' src='images/NaviCurve.gif' width='20' height='36'></td>");
document.write ("          <td width='90' align='center' valign='top'></td>");
document.write ("          <td align='left' width='23'>");
document.write ("          <img border='0' src='images/NaviCurve.gif' width='20' height='36'></td>");
document.write ("          <td width='76' align='center' valign='top'></td>");
document.write ("        </tr>");
document.write ("      </table>");
document.write ("      </td>");
*/
document.write ("    </tr>");
document.write ("    <tr>");
document.write ("      <td colspan='2' height='7'>");
document.write ("      <!--img border='0' src='images/sp.GIF' width='1' height='1'--></td>");
document.write ("    </tr>");
