function DisplayBanner(position, width, height) {
if (location.search != '')
position += '@In';
var url='http://www.mykid.co.il/_FW/Adv/BannerShow.aspx?p=' + position + '&q='+ escape(location.search);
if(position=='topleft')
{
height='70';
width='222';
}
if(position=='topright')
{
height='70';
width='997';
}
if(position=='right1')
{
height='205';
width='195';
}
if(position=='right2')
{
height='205';
width='195';
}
if(position=='under1')
{
height='70';
width='795';
}
if(position=='under2')
{
height='70';
width='795';
}
if(position=='under3')
{
height='60';
width='795';
}
if(position=='downright')
{
height='70';
width='997';
}
if(position=='downleft')
{
height='70';
width='222';
}
if(position=='topright@In')
{
height='70';
width='997';
}
if(position=='topleft@in')
{
height='70';
width='222';
}
if(position=='under1@in')
{
height='70';
width='795';
}
if(position=='under2@in')
{
height='70';
width='795';
}
if(position=='under3@in')
{
height='70';
width='795';
}
if(position=='right1@in')
{
height='205';
width='195';
}
if(position=='right2@in')
{
height='205';
width='195';
}
if(position=='downright@in')
{
height='70';
width='997';
}
if(position=='downleft@in')
{
height='70';
width='222';
}
if(position=='Facebook')
{
height='396';
width='195';
}
if(position=='Facebook@In')
{
height='315';
width='197';
}
if(position=='big')
{
height='70';
width='997';
}
if(position=='big@in')
{
height='70';
width='997';
}
if(position=='biga@in')
{
height='70';
width='997';
}
if(position=='NewInSite')
{
height='240';
width='155';
}
if(position=='facebook2')
{
height='400';
width='195';
}
if(position=='facebook2@in')
{
height='400';
width='195';
}
if(position=='TopSLeft')
{
DisplayBannerInline(position);
return;
}
if(position=='TopSLeft@In')
{
DisplayBannerInline(position);
return;
}
if(position=='topsleft1')
{
DisplayBannerInline(position);
return;
}
if(position=='topsleft3')
{
DisplayBannerInline(position);
return;
}
if(position=='topsleft4')
{
DisplayBannerInline(position);
return;
}
document.writeln('');
}
function DisplayBannerInline(position){
if(!window.Banner)
document.writeln('');
document.writeln('');
}