\n');
}
function showlay(from,val)
{
document.getElementById('MainLayHead').style.visibility = "visible";
if(from=='Details')
{
document.getElementById('MainLayHead').innerHTML =('
')
}
else if(from=='online')
{
document.getElementById('MainLayHead').innerHTML =('')
}
else
{
document.getElementById('MainLayHead').innerHTML =('')
}
}
function careerPage(pagename,val)
{
var x1=findPosX(document.getElementById('ubc_home'));
var y1=findPosY(document.getElementById('ubc_home'));
if(pagename=='index')
{
if(navigator.appName!="Netscape")
{
document.getElementById('Layer1').style.visibility = "hidden";
document.getElementById('Layer1').style.top =(y1-21)+225+"px";
document.getElementById('Layer1').style.left = (x1-53)+156+"px";
document.getElementById("ifrm").style.width="456px"
document.getElementById("ifrm").style.height="224px"
document.getElementById("ifrm").contentWindow.document.body.bgcolor="#F0F4E7"
document.getElementById("Layer1").style.bgcolor="#F0F4E7"
window.frames["ifrm"].location = "./Careers/index.aspx";
document.getElementById('Layer1').style.visibility = "visible";
}
else
{
document.getElementById('Layer1').style.visibility = "hidden";
document.getElementById('Layer1').style.top =(y1-21)-320+"px";
document.getElementById('Layer1').style.left = (x1-53)+156+"px";
document.getElementById("ifrm").style.width="456px"
document.getElementById("ifrm").style.height="238px"
document.getElementById("ifrm").contentWindow.document.body.bgcolor="#F0F4E7"
document.getElementById("Layer1").style.bgcolor="#F0F4E7"
window.frames["ifrm"].location = "./Careers/index.aspx";
document.getElementById('Layer1').style.visibility = "visible";
}
}
else if(pagename=='desc')
{
if(navigator.appName!="Netscape")
{
// alert('test2');
document.getElementById('Layer1').style.visibility = "hidden";
document.getElementById('Layer1').style.top =(y1-21)+235+"px";
document.getElementById('Layer1').style.left = (x1-53)+134+"px";
document.getElementById("ifrm").style.width="496px"
document.getElementById("ifrm").style.height="219px"
document.getElementById("ifrm").contentWindow.document.body.bgcolor="#F0F4E7"
document.getElementById("Layer1").style.bgcolor="#F0F4E7"
window.frames["ifrm"].location = "./Careers/details.aspx?Job_ID="+val;
document.getElementById('Layer1').style.visibility = "visible";
}
else
{
//alert('test2');
document.getElementById('Layer1').style.visibility = "hidden";
document.getElementById('Layer1').style.top =(y1-21)-324+"px";
document.getElementById('Layer1').style.left = (x1-53)+134+"px";
document.getElementById("ifrm").style.width="496px"
document.getElementById("ifrm").style.height="241px"
document.getElementById("ifrm").contentWindow.document.body.bgcolor="#F0F4E7"
document.getElementById("Layer1").style.bgcolor="#F0F4E7"
window.frames["ifrm"].location = "./Careers/details.aspx?Job_ID="+val;
document.getElementById('Layer1').style.visibility = "visible";
}
}
}
/********** checking postion *************/
function findPosX(obj)
{
var curleft = 0;
if(obj.offsetParent)
while(1)
{
curleft += obj.offsetLeft;
if(!obj.offsetParent)
break;
obj = obj.offsetParent;
}
else if(obj.x)
curleft += obj.x;
return curleft;
}
function findPosY(obj)
{
var curleft = 0;
if(obj.offsetParent)
while(1)
{
curleft += obj.offsetTop;
if(!obj.offsetParent)
break;
obj = obj.offsetParent;
}
else if(obj.x)
curleft += obj.x;
return curleft;
}
/********** checking postion end here *************/
function pop(){
window.open("upload.aspx","Popup","width=325,height=250,left=350,top=300");
}
function printPage(d)
{
var d;
window.frames["ifrm"].focus();
window.frames["ifrm"].document.body.scrollTop=20;
window.frames["ifrm"].document.getElementById("logoPrint").style.display='block';
if(d=="SE")
{
window.frames["ifrm"].document.getElementById("logoPrint").innerHTML="
UNION BROKERAGE COMPANY - SERVICES
";
}
else if(d=="AO")
{
window.frames["ifrm"].document.getElementById("logoPrint").innerHTML="
ACCOUNT OPENING
";
}
else if(d=="FA")
{
window.frames["ifrm"].document.getElementById("logoPrint").innerHTML="
FAQ'S
";
}
else if(d=="IL")
{
window.frames["ifrm"].document.getElementById("logoPrint").innerHTML="
Important Links
";
}
else if(d=="" || d==null)
{
window.frames["ifrm"].document.getElementById("logoPrint").innerHTML="
";
}
else
{
window.frames["ifrm"].document.getElementById("logoPrint").innerHTML="
UNION BROKERAGE COMPANY - "+d+"
";
}
window.frames["ifrm"].print();
}
function printPageNE()
{
window.frames["ifrmN"].focus();
window.frames["ifrmN"].print();
}
Welcome to UNION BROKERAGE