var newwindow;
function findAFund(url)
{
	newwindow=window.open(url,'name1','height=310,width=475, scrollbars=yes,titlebar=yes,menubar=0,addressbar=0,resizable,status=yes,toolbar=0, left=5, top=0,');
	if (window.focus) {newwindow.focus()}
}
var newwindow;
function mfNfosDetails(url)
{
	newwindow=window.open(url,'name1','height=518,width=535, scrollbars=yes,titlebar=yes,menubar=0,addressbar=0,resizable,status=yes,toolbar=0, left=5, top=0,');
	if (window.focus) {newwindow.focus()}
}
var newwindow;
function mfNewsDetails(url)
{
	newwindow=window.open(url,'name1','height=508,width=505, scrollbars=yes,titlebar=yes,menubar=0,addressbar=0,resizable,status=yes,toolbar=0, left=5, top=0,');
	if (window.focus) {newwindow.focus()}
}
var newwindow;
function mfDetails(url)
{
	newwindow=window.open(url,'name1','height=508,width=590, scrollbars=yes,titlebar=yes,menubar=0,addressbar=0,resizable,status=yes,toolbar=0, left=5, top=0,');
	if (window.focus) {newwindow.focus()}
}
var newwindow;
function poptasticC(url)
{
	newwindow=window.open(url,'name1','height=508,width=435, scrollbars=yes,titlebar=0,menubar=0,addressbar=0,status=0,toolbar=0, left=5, top=0,');
	if (window.focus) {newwindow.focus()}
}
var newwindow;
function poptasticPol(url)
{
	newwindow=window.open(url,'name1','height=548,width=435, scrollbars=yes,titlebar=0,menubar=0,addressbar=0,status=0,toolbar=0, left=5, top=0,');
	if (window.focus) {newwindow.focus()}
}
var newwindow;
function poptastic1(url)
{
	newwindow=window.open(url,'name','width=1002, height=620,scrollbars=yes,titlebar=0,menubar=0,addressbar=0,status=0,toolbar=0,left=5,');
	if (window.focus) {newwindow.focus()}
}
var newwindow;
function reports(url)
{
	newwindow=window.open(url,'name','height=641,width=769, scrollbars=yes,titlebar=0,menubar=0,addressbar=0,status=0,toolbar=0, left=158, top=68');
	if (window.focus) {newwindow.focus()}
}
var newwindow;
function getScripName(url)
{
	newwindow=window.open(url,'name','height=210,width=400, scrollbars=yes,titlebar=0,menubar=0,addressbar=0,menu=no,status=0,toolbar=0, left=258, top=250');
	if (window.focus) {newwindow.focus()}
}
function showDiv(){

            var filterVal = document.getElementById('tabName').value ;

 

            if(filterVal == "div1"){

                        document.getElementById('div1').style.display = 'block';

                        document.getElementById('div2').style.display = 'none';

                        document.getElementById('div3').style.display = 'none';

            }

            else if(filterVal == "div2"){

                        document.getElementById('div1').style.display = 'none';

                        document.getElementById('div2').style.display = 'block';

                        document.getElementById('div3').style.display = 'none';

            }

            else if(filterVal == "div3"){

                        document.getElementById('div1').style.display = 'none';

                        document.getElementById('div2').style.display = 'none';

                        document.getElementById('div3').style.display = 'block';

            }

}

function companyad()
{
window.open("companyAd.htm",
	"mywindow","location=0,status=0,scrollbars=0,width=420,height=350,top=150,left=300");
}
function appointmentLetter()
{
window.open("appointmentLetter.htm",
	"mywindow","location=0,status=0,scrollbars=1,width=680,height=500,top=150,left=150");
}
function resumeFormat()
{
window.open("4_resume_samples.doc",
	"mywindow","location=0,status=0,scrollbars=1,resizable,width=700,height=500,top=100,left=50");
}
function showDiv(divId)
{
	var divObj = document.getElementById(divId);
	divObj.style.visibility = "visible";
	divObj.style.display = "block";
}
function hideDiv(divId)
{
	var divObj = document.getElementById(divId);
	divObj.style.visibility = "hidden";
	divObj.style.display = "none";
}
function showLink(id)
{

 if (id==1)
 {
  document.getElementById("Div1").style.visibility = "visible"
  document.getElementById("Div2").style.visibility = "hidden"
  document.getElementById("Div1").style.display = "block"
  document.getElementById("Div2").style.display = "none"
  document.getElementById("div1Tab").className= "ltrblack"
  document.getElementById("div2Tab").className= "ltrbblack"
 }
  if (id==2)
 {
  document.getElementById("Div1").style.visibility = "hidden"
  document.getElementById("Div2").style.visibility = "visible"
  document.getElementById("Div1").style.display = "none"
  document.getElementById("Div2").style.display = "block"
  document.getElementById("div1Tab").className= "ltrbblack"
  document.getElementById("div2Tab").className= "ltrblack"
 }
}
function swap_divs(_1){
if(_1=="ipo1"){
document.getElementById("ipo_ipo1").style.display="block";
document.getElementById("ipo_ipo1").style.visibility="visible";
document.getElementById("ipo_ipo2").style.display="none";
document.getElementById("ipo_ipo2").style.visibility="hidden";
document.getElementById("ipo_ipo3").style.display="none";
document.getElementById("ipo_ipo3").style.visibility="hidden";
document.getElementById("ipo_ipo4").style.display="none";
document.getElementById("ipo_ipo4").style.visibility="hidden";
document.getElementById("ipo1").src="../images/ipos_open_ov.gif";
document.getElementById("ipo2").src="../images/ipos_closed.gif";
document.getElementById("ipo3").src="../images/forth_coming_ipo_btn.gif";
document.getElementById("ipo4").src="../images/over_subs_btn.gif";
document.getElementById("img_a").style.visibility="visible";
document.getElementById("img_a").style.display="block";
document.getElementById("img_a").src="../images/img_0010.gif";
document.getElementById("img_b").src="../images/img_0011.gif";
document.getElementById("img_c").src="../images/img_0013.gif";
document.getElementById("img_d").src="../images/img_0013.gif";
}else{
if(_1=="ipo2"){
document.getElementById("ipo_ipo2").style.display="block";
document.getElementById("ipo_ipo2").style.visibility="visible";
document.getElementById("ipo_ipo1").style.display="none";
document.getElementById("ipo_ipo1").style.visibility="hidden";
document.getElementById("ipo_ipo3").style.display="none";
document.getElementById("ipo_ipo3").style.visibility="hidden";
document.getElementById("ipo_ipo4").style.display="none";
document.getElementById("ipo_ipo4").style.visibility="hidden";
document.getElementById("ipo1").src="../images/ipos_open.gif";
document.getElementById("ipo2").src="../images/ipos_closed_ov.gif";
document.getElementById("ipo3").src="../images/forth_coming_ipo_btn.gif";
document.getElementById("ipo4").src="../images/over_subs_btn.gif";
document.getElementById("img_a").style.visibility="hidden";
document.getElementById("img_a").style.display="none";
document.getElementById("img_b").src="../images/img_0012.gif";
document.getElementById("img_c").src="../images/img_0011.gif";
document.getElementById("img_d").src="../images/img_0013.gif";
}else{
if(_1=="ipo3"){
document.getElementById("ipo_ipo3").style.display="block";
document.getElementById("ipo_ipo3").style.visibility="visible";
document.getElementById("ipo_ipo1").style.display="none";
document.getElementById("ipo_ipo1").style.visibility="hidden";
document.getElementById("ipo_ipo2").style.display="none";
document.getElementById("ipo_ipo2").style.visibility="hidden";
document.getElementById("ipo_ipo4").style.display="none";
document.getElementById("ipo_ipo4").style.visibility="hidden";
document.getElementById("ipo1").src="../images/ipos_open.gif";
document.getElementById("ipo2").src="../images/ipos_closed.gif";
document.getElementById("ipo3").src="../images/forth_coming_ipo_btn_ov.gif";
document.getElementById("ipo4").src="../images/over_subs_btn.gif";
document.getElementById("img_a").style.visibility="hidden";
document.getElementById("img_a").style.display="none";
document.getElementById("img_b").src="../images/img_0013.gif";
document.getElementById("img_c").src="../images/img_0012.gif";
document.getElementById("img_d").src="../images/img_0011.gif";
}else{
if(_1=="ipo4"){
document.getElementById("ipo_ipo4").style.display="block";
document.getElementById("ipo_ipo4").style.visibility="visible";
document.getElementById("ipo_ipo1").style.display="none";
document.getElementById("ipo_ipo1").style.visibility="hidden";
document.getElementById("ipo_ipo2").style.display="none";
document.getElementById("ipo_ipo2").style.visibility="hidden";
document.getElementById("ipo_ipo3").style.display="none";
document.getElementById("ipo_ipo3").style.visibility="hidden";
document.getElementById("ipo1").src="../images/ipos_open.gif";
document.getElementById("ipo2").src="../images/ipos_closed.gif";
document.getElementById("ipo3").src="../images/forth_coming_ipo_btn.gif";
document.getElementById("ipo4").src="../images/over_subs_btn_ov.gif";
document.getElementById("img_a").style.visibility="hidden";
document.getElementById("img_a").style.display="none";
document.getElementById("img_b").src="../images/img_0013.gif";
document.getElementById("img_c").src="../images/img_0013.gif";
document.getElementById("img_d").src="../images/img_0012.gif";
}
}
}
}
}
function pdf(url)
{
	newwindow=window.open(url,'name','height=641,width=769, scrollbars=yes,titlebar=0,menubar=0,addressbar=0,status=0,toolbar=0, left=0, top=0');
	if (window.focus) {newwindow.focus()}
}
function doMenu(id,display) {
	document.getElementById(id).style.display = display;
}
function showdownload(id)
{
 if (id==1)
 {
  document.getElementById("dw1").style.visibility = "visible"
  document.getElementById("dw2").style.visibility = "hidden"
  document.getElementById("dw3").style.visibility = "hidden"
  document.getElementById("dw1").style.display = "block"
  document.getElementById("dw2").style.display = "none"
  document.getElementById("dw3").style.display = "none"
  document.getElementById("dw1Tab").className= "shadetabs"
  document.getElementById("dw2Tab").className= "shadetabsselected"
  document.getElementById("dw3Tab").className= "shadetabsselected"
 }
  if (id==2)
 {
  document.getElementById("dw1").style.visibility = "hidden"
  document.getElementById("dw2").style.visibility = "visible"
  document.getElementById("dw3").style.visibility = "hidden"
  document.getElementById("dw1").style.display = "none"
  document.getElementById("dw2").style.display = "block"
  document.getElementById("dw3").style.display = "none"
  document.getElementById("dw1Tab").className= "shadetabsselected"
  document.getElementById("dw2Tab").className= "shadetabs"
  document.getElementById("dw3Tab").className= "shadetabsselected"
 }
  if (id==3)
 {
  document.getElementById("dw1").style.visibility = "hidden"
  document.getElementById("dw2").style.visibility = "hidden"
  document.getElementById("dw3").style.visibility = "visible"
  document.getElementById("dw1").style.display = "none"
  document.getElementById("dw2").style.display = "none"
  document.getElementById("dw3").style.display = "block"
  document.getElementById("dw1Tab").className= "shadetabsselected"
  document.getElementById("dw2Tab").className= "shadetabsselected"
  document.getElementById("dw3Tab").className= "shadetabs"
 }
}
