var outbase='tip' + 'top'
outbase=outbase+'tuda'+"kozo"


function menu(n) {
	var a,b,c
	a='ker_egyszeru'
	b='ker_reszletes'
	if (n==2) {
		c=a
		a=b
		b=c
	}
	document.getElementById(a).style.display='block'
	document.getElementById(b).style.display='none'
}

function wre(a,b,c) {
  var kukac = "+!%/=(){@}&#";
  document.write(a+kukac.substr(8,1)+b+c)
}
function cb(e)
{
   e.cancelBubble = true;
}

function jump(url) {
window.open('http://valueclick.hu/out/'+url)
}


function shutdownform(method,a,b) {
ht='http://'
document.write('</form><form ');
document.write('method="')
document.write(method)
document.write('" acti')
document.write('on="'+ht+a+b+'.hu">')
}
function gotoonline(ezegyabetu,a,b) {
window.open('http://'+a+'.onlineceglista.hu/'+b)
}

function regisztral() {
kapu='ekapu'
window.open('http://'+'valueclick.'+kapu+'.hu/az-egyetlen-cel-eladni-az-on-termeket')
}

function gohetek() {
kapu='.hu'
window.open('http://'+'www.hetek'+kapu)
}

function a() {
ttt_topen();
}



function drawlink(a,b) {
  n='<a href="http://'+a+'.onlineceglista.hu/!'+b+'/" style="font-size:16px">folytatás &gt;&gt;&gt;</a>';
  document.write(n)
}
function drawlogo(uk,logo) {
  n='<img src="http://img.'+outbase+'.hu/'+uk+'" border="0" onclick="javascript:mag(\''+logo+'\')" class=hand>';
  document.write(n)
}
function drawbanner(uk) {
  n='<iframe allowtransparency="true" src="http://bn.'+outbase+'.hu/'+uk+'" width="468" height="60" frameborder="0"></iframe>';
  document.write(n)
}
function wa(n,uk,bg) {
  a='<img src="http://wimg.'+outbase+'.hu/'+uk+'|'+bg+'" style="vertical-align:middle" border="0"> <a href="http://webaruhaz.'+outbase+'.hu/'+n+'/" target="_blank">A legújabb fényképek - már a webáruházban is &gt;&gt;&gt;</a>'
  document.write(a)
}
function eit(a,b,c) {
  var kukac = "+!%/=(){@}&#";
  str='<a h'+'ref="'
  str+="mailto:"
  document.write(str+a+kukac.substr(8,1)+b+c+'">'+a+kukac.substr(8,1)+b+c+'</a>')
}

function mouseClick(e) {
	var targ;
	if (!e) var e = window.event;
	if (e.target) targ = e.target;
	else if (e.srcElement) targ = e.srcElement;
	if (targ.nodeType == 3) // defeat Safari bug
		targ = targ.parentNode;
    if (targ.id=='dimg') {
      uk=targ.name.substr(11)
      alert('*'+uk+'*')
      return false;
    }
    if (targ.id=='ct') {
      url=targ.href.substr(7)
      if (url.substr(url.length-1,1)=='/') url=url.substr(0,url.length-1)
      window.open('http://valueclick.hu/out/'+url)
      return false;
    }
   if (targ.id=='sendmail') {
      ttt_topen();
      return false;
    }
   if (targ.id.substr(0,3)=='ca,') {
     arr=targ.id.split(',')
     onj(arr[1],arr[2])
     return false;
   }
}

function mouseOver(e) {
	var targ;
	if (!e) var e = window.event;
	if (e.target) targ = e.target;
	else if (e.srcElement) targ = e.srcElement;
	if (targ.nodeType == 3) // defeat Safari bug
		targ = targ.parentNode;
   if (targ.id.substr(0,3)=='ca,') {
      obj=document.getElementById(targ.id)
      obj.style.backgroundColor='#FFFAE6';
      obj.style.border='1px solid #FF9900';
    }

}
function mouseOut(e) {
	var targ;
	if (!e) var e = window.event;
	if (e.target) targ = e.target;
	else if (e.srcElement) targ = e.srcElement;
	if (targ.nodeType == 3) // defeat Safari bug
		targ = targ.parentNode;
   if (targ.id.substr(0,3)=='ca,') {
      obj=document.getElementById(targ.id)
      obj.style.backgroundColor='#FFFFFF';
      obj.style.border='1px solid #F7F5EE';
    }

}
document.onclick    =mouseClick
document.onmouseover=mouseOver
document.onmouseout =mouseOut


function onj(a,b) {
  window.open('http://'+a+'.onlineceglista.hu/'+b+'/')
}
function onj2(a,b) {
  window.open('http://'+a+'.onlineceglista.hu/!'+b+'/')
}



function openreg() {
var ertek='ekapu'
document.write('<img src="http://graphics.'+ertek+'.hu/ekapu-blogstyle/banner.png" border="0" onclick="regisztral()" style="cursor:pointer">')
}

function openoptin() {
  n='<table width="100%" cellpadding=0 cellspacing=0 class="optin"><tr><td><img src="/images/optin_button.png" onclick="ttt_topen()"></td></tr></table>';
  document.write(n)
}

function openoptin2() {
  n='<table width="100%" cellpadding=0 cellspacing=0 class="optin2"><tr><td><img src="/images/optin_button.png" onclick="ttt_topen()"></td></tr></table>';
  document.write(n)
}
function ttt_tracker() {
  var uri='tiptop'
  uri=uri+'tudakozo'+'.hu'
  doc=document
  doc.write('<script language="javascript" src="http://counter.'+uri+'/?'+ttt_query+'"></script>')
}

function keresomenu(q) {
if (typeof(q)=='undefined') q=' '
str='<table width="100%" cellpadding="0" cellspacing="0">'+
    '      <form id="formegy" method="POST" action="/nobot.html" style="padding:0px;margin:0px">'+
    '      <input name="siteid" value="valueclick.hu" type="hidden">'+
    '      <input name="op7" value="1" type="hidden">'+
    '      <input name="op1" value="1" type="hidden">'+
    '      <input name="op2" value="1" type="hidden">'+
    '<tr><td width="25"><img src="/images/src_left.png"></td><td style="background-image:url(/images/src_bg.png)"><input name="q" style="border:0px;padding:0px;margin:0px;font-size:12px;margin-top:12px;width:100%" value="'+q+'"></td></td><td width="32"><input type="image" src="/images/src_submit.png"></td></tr>'+
    '</form></table>'

document.write(str)
      a="kereses"
      b="ekapu"
      document.getElementById("formegy").action="http://"+a+"."+b+".hu"


}

function keresomenu2(q) {
str='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td>'+
'      <form id="keresomenu2" method="POST" action="/nobot.html" style="padding:0px;margin:0px">'+
'      <input name="siteid" value="valueclick.hu" type="hidden">'+
'      <input name="op7" value="1" type="hidden">'+
'      <input name="op1" value="1" type="hidden">'+
'      <input name="op2" value="1" type="hidden">'+
'      <div id="keresomenu"><table width="100%" cellpadding=0 cellspacing=0 style="background-image:url(/images/kermenubg_allo.png) ;background-repeat:no-repeat;">'+
'      <tr><td style="vertical-align:middle;padding:30px 0px 23px 8px;"><input name="q" style="width:115px;" value="'+q+'"><input type="image" src="/images/kermenubutton.png" style="padding:0px;margin:0px;vertical-align:middle"></td></tr></table>'+
'      </div>'+
'      </form></td></tr></table>'
document.write(str)
      a="kereses"
      b="ekapu"
      document.getElementById("keresomenu2").action="http://"+a+"."+b+".hu"


}

function keresomenu_intelligens(q) {
str='<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td>'+
'      <form id="formegy" method="POST" action="/nobot.html" style="padding:0px;margin:0px">'+
'      <input name="siteid" value="valueclick.hu" type="hidden">'+
'      <input name="intelligens" value="1" type="hidden">'+
'      <input name="op7" value="1" type="hidden">'+
'      <input name="op1" value="1" type="hidden">'+
'      <input name="op2" value="1" type="hidden">'+
'      <div id="keresomenu"><table width="100%" cellpadding=0 cellspacing=0 style="background-image:url(/images/kermenubg.png) ;background-repeat:no-repeat;">'+
'      <tr><td style="vertical-align:middle;padding:10px 0px 15px 90px;"><input name="q" style="width:377px;" value="'+q+'"><input type="image" src="/images/kermenubutton.png" style="padding:0px;margin:0px;vertical-align:middle"></td></tr></table>'+
'      </div>'+
'      </form></td></tr></table>'
document.write(str)
      a="kereses"
      b="ekapu"
      document.getElementById("formegy").action="http://"+a+"."+b+".hu"


}
