// JavaScript Document

// ### Common Functions ### 

//function DBOpopup()
//{
//window.open("https://dbonline.dubaibank.ae/WebApplication.UI/default.aspx", "DubaiBankOnline", 'width=1100, height=600, location=0, toolbar=0, titlebar=0, scrollbars=1, resizable=1, menubar=0,status=1');
//} 

function ContentWin(lnk, w, h)
{
d = new Date();
rand = d.getTime();
l =(screen.width - w) / 2;
t=(screen.height - h) / 2;
if (!window.focus)return true;
var href;
if (typeof(lnk) == 'string')
   href=lnk;
else
   href=lnk.href;
window.open(href, rand, 'width='+w+', height='+h+', location=0, toolbar=0, titlebar=0, scrollbars=1, resizable=1, menubar=0,status=1, left='+l+', right='+t+'');
} 
