<!--

function openClient() {
	// properties of the opening window
	var pHeight = 600, pWidth= 800;
	var properties = 'toolbar=1,scrollbars=1,location=0,statusbar=1,menubar=1,resizable=1'
	
	// properties of the client screen
	if (document.all) {		
		var wHeight = document.body.clientHeight;
		var wWidth = document.body.clientWidth;
	}
	else if (document.layers) {
		var wHeight = window.innerHeight;
		var wWidth = window.innerWidth;
	}
	
	var topPos = (wHeight-pHeight) / 2, leftPos = (wWidth-pWidth) / 2;
	var popProp = properties + ',' + 'width=' + pWidth + ',height=' + pHeight + ',left=' + leftPos + ',top=' + topPos;

	newWindow = open('https://reporting.tntem.com', 'tntclient', popProp);	
	//newWindow = open('http://24.151.6.162', 'tntclient', popProp);	
	if (newWindow.opener == null) {
		newWindow.opener = self
	}
	newWindow.focus();
}

function openRegistration(docid, vHeight, vWidth) {
	// properties of the opening window
	var pHeight = vHeight, pWidth=vWidth;
	var properties = 'toolbar=1,scrollbars=1,location=0,statusbar=1,menubar=1,resizable=1'
	
	// properties of the client screen
	if (document.all) {		
		var wHeight = document.body.clientHeight;
		var wWidth = document.body.clientWidth;
	}
	else if (document.layers) {
		var wHeight = window.innerHeight;
		var wWidth = window.innerWidth;
	}
	
	var topPos = (wHeight-pHeight) / 2, leftPos = (wWidth-pWidth) / 2;
	var popProp = properties + ',' + 'width=' + pWidth + ',height=' + pHeight + ',left=' + leftPos + ',top=' + topPos;

	newWindow = open('http://reporting.tntem.com/reg_info/register.aspx?documentid=' + docid, 'tntreg', popProp);	
	if (newWindow.opener == null) {
		newWindow.opener = self
	}
	newWindow.focus();
}

function openTEMOverview() {
	// properties of the opening window
	var pHeight = 715, pWidth= 490;
	var properties = 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0'

	// properties of the client screen
	if (document.all) {		
		var wHeight = document.body.clientHeight;
		var wWidth = document.body.clientWidth;
	}
	else if (document.layers) {
		var wHeight = window.innerHeight;
		var wWidth = window.innerWidth;
	}
	
	var topPos = (wHeight-pHeight) / 2, leftPos = (wWidth-pWidth) / 2;
	var popProp = properties + ',' + 'width=' + pWidth + ',height=' + pHeight + ',left=' + leftPos + ',top=' + topPos;

	newWindow = open('http://reporting.tntem.com/Inquiry.asp', 'TEMOverview', popProp);	
	//newWindow = open('http://24.151.6.162', 'tntclient', popProp);	
	if (newWindow.opener == null) {
		newWindow.opener = self
	}
	newWindow.focus();
}
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		client_login_over = newImage("images/client_login-over.gif");
		preloadFlag = true;
	}
}

// -->

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->


<!--
function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function fwLoadMenus() {
  if (window.fw_menu_0) return;
  window.fw_menu_0 = new Menu("root",116,16,"Verdana, Arial, Helvetica, sans-serif",9,"#ffffff","#ffffff","#999999","#003366");
  fw_menu_0.addMenuItem("Company Info","location='company_info.html'");
  fw_menu_0.addMenuItem("Clients","location='clients.html'");
  fw_menu_0.addMenuItem("Partners","location='partners.html'");
  fw_menu_0.addMenuItem("Management Team","location='team.html'");
  fw_menu_0.addMenuItem("FAQs","location='faqs.html'");
   fw_menu_0.hideOnMouseOut=true;
  window.fw_menu_1 = new Menu("root",176,16,"Verdana, Arial, Helvetica, sans-serif",9,"#ffffff","#ffffff","#999999","#003366");
  fw_menu_1.addMenuItem("Telecom Audit","location='telecom_audit.html'");
  fw_menu_1.addMenuItem("Bill Processing &amp; Payment","location='bill_processing.html'");
  fw_menu_1.addMenuItem("Wireless Management","location='wireless.html'");
  fw_menu_1.addMenuItem("Network Procurement","location='network.html'");
  fw_menu_1.addMenuItem("Sourcing/Contract Negotiations","location='contract.html'");
  fw_menu_1.addMenuItem("Telecom Project Management","location='telecom_project.html'");
   fw_menu_1.hideOnMouseOut=true;
  window.fw_menu_2 = new Menu("root",129,16,"Verdana, Arial, Helvetica, sans-serif",9,"#ffffff","#ffffff","#999999","#003366");
  fw_menu_2.addMenuItem("TeleBase &trade;","location='telebase.html'");
  fw_menu_2.addMenuItem("Web-Based Reporting","location='web.html'");
   fw_menu_2.hideOnMouseOut=true;
  window.fw_menu_3 = new Menu("root",99,16,"Verdana, Arial, Helvetica, sans-serif",9,"#ffffff","#ffffff","#999999","#003366");
  fw_menu_3.addMenuItem("Press Releases","location='press.html'");
  fw_menu_3.addMenuItem("Newsletters","location='newsletters.html'");
    fw_menu_3.addMenuItem("TEM Overview","location='tem.html'");
 
   fw_menu_3.hideOnMouseOut=true;
  window.fw_menu_4 = new Menu("root",76,16,"Verdana, Arial, Helvetica, sans-serif",9,"#ffffff","#ffffff","#999999","#003366");
  fw_menu_4.addMenuItem("Contact us","location='contact.html'");
  fw_menu_4.addMenuItem("Careers","location='careers.html'");
  fw_menu_4.addMenuItem("Request Info","location='request_info.html'");
   fw_menu_4.hideOnMouseOut=true;

  fw_menu_4.writeMenus();
} // fwLoadMenus()

//-->