<!--
// global utility functions
var base_url = '';
var target_url = '';
var cgi_param = '';
var next_url = '';
var child_win = null;
var citidirect_url = 'https://citidirect-eb.citicorp.com/sme';

function openChildWin(base_url, target_url){
  next_url = base_url + target_url;
  launchChildWin(next_url);
}
function openChildWinCgi(base_url, target_url, cgi_param) {
  next_url = base_url + target_url + cgi_param;
  launchChildWin(next_url);
}
function launchChildWin(next_url){
  if(child_win != null && !child_win.closed) child_win.close();  child_win = window.open(next_url, 'childWin', 'toolbar=yes,status=yes,scrollbars=yes,location=yes,menubar=yes,directories=yes,resizable=yes,width=650,height=525,screenX=10,screenY=10,left=10,top=10');
}
function launchPopup( url, winName, winParams ) {
  if( winName == '_top' ) { top.location.href = url; return; }
  if (winName == null || winName == '') {
     winName='childWin';
  }  if(child_win != null && !child_win.closed) child_win.close();  child_win = window.open( url, winName, winParams );
}
function newWindow( url, winName, winParams ) {
  var p = (screen.width < 800) ? ',width=500,height=375' : (screen.width < 1024) ? ',width=600,height=400' : ',width=800,height=640'
  if (winName == null || winName == '') {
     winName='childWin';
  }  if(child_win != null && !child_win.closed) child_win.close();  child_win = window.open( url, winName, winParams + p );
}
function OnClickHandler() {
 var el = null; var flag = true; el = event.srcElement;
 while(flag&&el) {
  if( el.tagName=="A" ) {
    flag=false;
    if( el.protocol == "javascript:" ) {
      execScript(el.href, "javascript");
      window.event.returnValue = false;
   }
  }
  else el = el.parentElement;
 }
}

function addHeader () {
var hpStr;

hpStr = '<table width="100%" border="0" cellspacing="0" cellpadding="0"> ' +
        '<tr> ' +
        '  <td><img src="' + path + 'images/pixel.gif" width="1" height="15" ALT=""></td> ' +
        '</tr> ' +
        '<tr> ' +
        '  <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="toplinks"> ' +
        '      <tr> ' +
        '        <td width="0"><a href="http://www.citibank.com.tr/JPS/portal/html/tr_home.html"><img src="' + path + 'images/h_citi.gif" alt="Citi" width="140" height="45" hspace="0" vspace="3" border="0"></a></td> ' +
        '        <td width="100%" class="toplinks"><div align="right"> ' +
        '            <table width="0%" border="0" align="right" cellpadding="0" cellspacing="0"> ' +
        '              <tr> ' +
        '                <td nowrap class="toplinks"> <div align="right">' +
        '                <a href="http://www.citibank.com.tr/JPS/portal/html/privacy_tr.html" class="toplinks">gizlilik</a> &#8226; <a href="http://www.citibank.com" class="toplinks">citibank.com</a></div></td> ' +
        '              </tr> ' +
        '              <tr> ' +
        '                <td><img src="' + path + 'images/grey_head.gif" width="100%" height="3" ALT=""></td> ' +
        '              </tr> ' +
        '              <tr> ' +
        '                <td nowrap class="toplinks"> <div align="right">&#8226; <a href="' + citidirect_url + '" class="toplinks" style="color: #339900" target="blank">internet' +
        '                      bankacılığı</a> &#8226;  ' +
	    '<a href="' + path + '../english/index.htm" class="toplinks">english</a> &#8226; <a href="http://www.citibank.com.tr/JPS/portal/html/tr_home.html" class="toplinks">ana sayfa</a></div></td> ' +
        '              </tr> ' +
        '            </table> ' +
        '          </div></td> ' +
        '        <td width="0"><img src="' + path + 'images/pixel.gif" width="10" height="1" ALT=""></td> ' +
        '      </tr> ' +
        '    </table></td> ' +
        '</tr> ' +
        '<tr> ' +
        '  <td nowrap> <table width="100%" border="0" cellspacing="0" cellpadding="0">' +
        '      <tr class="norm">' +
        '        <td width="0" nowrap><img src="' + path + 'images/country.gif" alt="Turkiye" width="140" height="22">' +
	'<a href="http://www.citibank.com.tr/JPS/portal/html/tr_home.html" onMouseOver="navRoll(1,1)" onMouseOut="navRoll(1,0)">' +
        '<img src="' + path + 'images/nav/nav_1_off.gif" alt="bireysel" name="nav_1" width="127" height="22" border="0" id="nav_1"></a>' +
	'<img src="' + path + 'images/nav/b_line.gif" width="5" height="22" ALT=""><a href="' + path + 'index.htm" onMouseOver="navRoll(2,1)" onMouseOut="navRoll(2,0)">' +
	'<img src="' + path + 'images/nav/nav_2_off.gif" alt="kurumsal" name="nav_2" width="132" height="22" border="0" id="nav_2"></a>' +
	'<img src="' + path + 'images/nav/b_line.gif" width="5" height="22" ALT=""><a href="' + path + 'bsegment/cbg/index.htm" onMouseOver="navRoll(3,1)" onMouseOut="navRoll(3,0)">' +
	'<img src="' + path + 'images/nav/nav_3_off.gif" alt="ticari" name="nav_3" width="109" height="22" border="0" id="nav_3"></a>' +
	'<img src="' + path + 'images/nav/b_line.gif" width="5" height="22" ALT=""><a href="' + path + 'bsegment/cbg/product/citileas/index.htm" onMouseOver="navRoll(4,1)" onMouseOut="navRoll(4,0)">' +
	'<img src="' + path + 'images/nav/nav_4_off.gif" alt="citilease" name="nav_4" width="65" height="22" border="0" id="nav_4"></a>' +
	'<img src="' + path + 'images/nav/b_line.gif" width="5" height="22" ALT=""><a href="' + path + 'bsegment/citimenkul/index.htm" onMouseOver="navRoll(5,1)" onMouseOut="navRoll(5,0)">' +
	'<img src="' + path + 'images/nav/nav_5_off.gif" alt="opus" name="nav_5" width="76" height="22" border="0" id="nav_5"></a></td>' +
        '        <td width="100%"><img src="' + path + 'images/nav/b_line.gif" width="100%" height="22" ALT="" hspace="0" vspace="0" border="0"></td> ' +

        '        <td width="100%"><img src="' + path + 'images/nav/b_line.gif" width="100%" height="22" ALT=""  hspace="0" vspace="0" border="0"></td> ' +
        '      </tr>' +
        '    </table></td>' +
        '</tr>' +
      	'</table>';

document.write(hpStr);
}


function addFooter () {
var hpStr;

hpStr = '<table width="100%" border="0" cellspacing="0" cellpadding="0"> ' +
      	'<tr valign="top"> ' +
        '  <td width="0"><img src="' + path + 'images/pixel.gif" width="10" height="1" ALT=""></td> ' +
      	'  <td width="50%">&nbsp;</td> ' +
      	'  <td width="50%" valign="bottom" class="footer"> ' +
      	'<div align="right"> ' +
      	'<a href="http://www.citibank.com.tr/JPS/portal/FatFooterPage.do?Warea=AssociationScreen&ad=ad_AssociationFat" class="footer">hakkında</a> | ' +
      	'<a href="' + path + 'contact.htm" class="footer">bize ulaşın</a> | ' +
      	'<a href="http://www.citibank.com.tr/JPS/portal/FatFooterPage.do?Warea=CWOUCiti&ad=ad_CWOUCiti" class="footer">güvenlik</a> | ' +
      	'<a href="http://www.citibank.com.tr/JPS/portal/FatFooterPage.do?Warea=MessagesGM&ad=ad_MessagesGM" class="footer">kariyer</a> | ' +
      	'<a href="http://www.citibank.com.tr/JPS/portal/FatFooterPage.do?Warea=MissionAboutCiti&ad=ad_MissionAboutCiti" class="footer">topluma katkı</a></div></td> ' +
      	'  <td width="0"><img src="' + path + 'images/pixel.gif" width="10" height="1" ALT=""></td> ' +
      	'</tr> ' +
      	'<tr valign="top"> ' +
      	'  <td colspan="4"><img src="' + path + 'images/1grey.gif" width="100%" height="1" vspace="5" ALT=""></td> ' +
      	'</tr> ' +
      	'<tr valign="top"> ' +
      	'  <td width="0"><img src="' + path + 'images/pixel.gif" width="10" height="1" ALT=""></td> ' +
      	'  <td width="50%"><img src="' + path + 'images/pixel.gif" width="10" height="19" ALT=""><br> ' +
      	'      <a href="http://www.citibank.com" class="footer">Citibank.com</a></td>' +
      	'  <td width="50%"><div align="right"> <span class="footer">' +
      	'      <a href="http://www.citigroup.com/citigroup/privacy/index.htm" class="footer">Citigroup Privacy Promise</a></span><br>' +
      	'      <span class="footer"><a href="http://www.citigroup.com/citigroup/privacy/terms.htm" class="footer">Terms, Conditions, caveats and small print</a></span><br>' +
      	'      <span class="footer">Copyright &copy; 2004, Citigroup</span></div></td>' +
      	'  <td width="0"><img src="' + path + 'images/pixel.gif" width="10" height="1" ALT=""></td>' +
      	'</tr> ' +
      	'</table>';

document.write(hpStr);

}

//-->
