<!--
function init(){
}
function open_window(link){
	window.open(link,"NewPage");
}
function open_window2(url){
	window.open(url,"billcorp","toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=no,width=780,height=500");
}
function open_square(url){
	window.open(url,"square","toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=no,width=540,height=540");
}
function open_window3(link){
	windowprops="location=yes,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes";
	window.open(link,"NewPage",windowprops);
}
function open_window4(url){
       window.open(url,"billcorp","toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=no,width=510,height=500");
}
function open_window5(url){
	window.open(url,"billcorp","toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,width=780,height=500");
}
function CPFPINOpen(url) {
       window.open(url,'CPF','WIDTH=380,HEIGHT=380,toolbar=no,directories=no,status=no,scrollbars=no,resize=no,menubar=no,top=100,left=200');
}

function getCookie(name) { // use: getCookie("name");
    var index = document.cookie.indexOf(name + "=");
    if (index == -1) return null;
    index = document.cookie.indexOf("=", index) + 1; // first character
    var endstr = document.cookie.indexOf(";", index);
    if (endstr == -1) endstr = document.cookie.length; // last character
    return unescape(document.cookie.substring(index, endstr));
  }

  function showlink(redirectUrl) {
        //document.write('cookie is '+getCookie("DBS_Url"));
     if (getCookie("DBS_Url")!=redirectUrl) {
    document.write('<table width="135" cellspacing="0" cellpadding="0" border="0">'
		  + '<!-- start startpage -->'
		  + '<tr class="startBg">'		
		  + '<td colspan="3"><img src="/0.gif" width="1" height="5" alt="" border="0"></td>'
		  + '</tr>'
		  + '<tr class="startBg">'
		  + '<td><img src="/0.gif" width="8" height="1" alt="" border="0"></td>'
		  + '<td><img src="/img/common/icon_startpage.gif" alt="" width="13" height="17" border="0">&#160;'
		  + '<a href="/webapp/home.jsp?url='+redirectUrl+'" class="start">'
		  + 'Start on this page the next time you visit DBS.com</a></td>'
		  + '<td><img src="/0.gif" width="8" height="1" alt="" border="0"></td>'
		  + '</tr>'
		  + '<tr class="startBg">'
		  + '<td colspan="3"><img src="/0.gif" width="1" height="10" alt="" border="0"></td>'
		  + '</tr>'
		  + '<!-- end startpage -->'
		  + '</table>'
		  );
     
     }
  }


function land(ref, target)
{
lowtarget=target.toLowerCase();
if (lowtarget=="_self") {window.location=loc;}
else {if (lowtarget=="_top") {top.location=loc;}
else {if (lowtarget=="_blank") {window.open(loc);}
else {if (lowtarget=="_parent") {parent.location=loc;}
else {parent.frames[target].location=loc;};
}}}
}

function jump(menu)
{
ref=menu.dbs_dropdown.options[menu.dbs_dropdown.selectedIndex].value;
splitc=ref.lastIndexOf("*");
target="";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000);}
else {loc=ref; target="_self";};
if (ref != "") {land(loc,target);}
}



//-->
