var Link = 'http://www.moselflug.de/Wilfried/index.htm';var Image1 = 'images/peel/small_1.gif';var Image2 = 'images/peel/big_1.gif';var peelid = '1'; var esel = new Object(); esel.ad_url = escape(Link); esel.small_path = 'peel/esel_s.swf'; //Hier den URL angeben wo die esel_s.swf liegt esel.small_image = escape(Image1); esel.small_width = '100'; esel.small_height = '100'; esel.small_params = 'ico=' + esel.small_image; esel.big_path = 'peel/esel_b.swf'; //Hier den URL angeben wo die esel_b.swf liegt esel.big_image = escape(Image2); esel.big_width = '650'; esel.big_height = '650'; esel.big_params = 'big=' + esel.big_image + '&ad_url=' + esel.ad_url; function sizeup987(){ document.getElementById('eselBig').style.top = '0px'; document.getElementById('eselSmall').style.top = '-1000px'; } function sizedown987(){ document.getElementById("eselSmall").style.top = "0px"; document.getElementById("eselBig").style.top = "-1000px"; } esel.putObjects = function () { document.write('
'); document.write(''); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(''); document.write('
'); document.write(''); document.write('
'); document.write(''); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(''); document.write('
'); setTimeout('document.getElementById("eselBig").style.top = "-1000px";',1000); } esel.putObjects(); $(document).ready(function() { $("#eselBig").hover(function() { $.post('set.php', {setinfo: 'yes', peel: peelid, count: 'hover' }, '', "json"); }); $("#eselBig").click(function() { $.post('set.php', {setinfo: 'yes', peel: peelid, count: 'click' }, '', "json"); }); });