function OAS_RICH(position) {
if (position == 'Bottom') {
document.write ('<!-- \n');
document.write ('Support: http://ads.miniclip.com#Miniclip/Google_468_TOP#Google_468_BOTTOM#Google_468_BOTTOM.html#706fe#1098265643#431#Hc#Bottom#miniclip.com/other##\n');
document.write ('--><script type="text/javascript"><!--\n');
document.write ('google_ad_client = "pub-5727015998631701";\n');
document.write ('google_alternate_ad_url = "http://www.miniclip.com/swfcontent/banners/fillerad.swf";\n');
document.write ('google_ad_width = 468;\n');
document.write ('google_ad_height = 60;\n');
document.write ('google_ad_format = "468x60_as";\n');
document.write ('google_ad_channel ="0594885304";\n');
document.write ('google_ad_type = "text_image";\n');
document.write ('google_color_border = "FF9900";\n');
document.write ('google_color_bg = "FFFFFF";\n');
document.write ('google_color_link = "000000";\n');
document.write ('google_color_url = "000099";\n');
document.write ('google_color_text = "003366";\n');
document.write ('//--></script>\n');
document.write ('<script type="text/javascript"\n');
document.write ('  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">\n');
document.write ('</script>\n');
}
if (position == 'Position1') {
document.write ('<A HREF="http://ads.miniclip.com/5c/miniclip.com/other/595064623/Position1/Miniclip/default/empty.gif/63313464623332643432353264633430" target="_blank"><IMG SRC="http://a248.e.akamai.net/6/592/1130/0/oas-eu.247realmedia.com/0/Miniclip/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'Position2') {
document.write ('<!-- \n');
document.write ('Support: http://ads.miniclip.com#Miniclip/Fastclick_popunder#Fastclick_popunder-Creative#Fastclick_popunder-Creative.html#418cf#1094743129#431#Hc#Position2#miniclip.com/other##\n');
document.write ('--><!-- FASTCLICK.COM POP-UNDER CODE v1.8 for miniclip.com (12 hour) -->\n');
document.write ('<script language="javascript"><!--\n');
document.write ('var dc=document; var date_ob=new Date();\n');
document.write ('dc.cookie=');
document.write ("'");
document.write ('h2=o; path=/;');
document.write ("'");
document.write (';var bust=date_ob.getSeconds();\n');
document.write ('if(dc.cookie.indexOf(');
document.write ("'");
document.write ('e=llo');
document.write ("'");
document.write (') <= 0 && dc.cookie.indexOf(');
document.write ("'");
document.write ('2=o');
document.write ("'");
document.write (') > 0){\n');
document.write ('dc.write(');
document.write ("'");
document.write ('<scr');
document.write ("'");
document.write ('+');
document.write ("'");
document.write ('ipt language="javascript" src="http://media.fastclick.net');
document.write ("'");
document.write (');\n');
document.write ('dc.write(');
document.write ("'");
document.write ('/w/pop.cgi?sid=4763&m=2&tp=2&v=1.8&c=');
document.write ("'");
document.write ('+bust+');
document.write ("'");
document.write ('"></scr');
document.write ("'");
document.write ('+');
document.write ("'");
document.write ('ipt>');
document.write ("'");
document.write (');\n');
document.write ('date_ob.setTime(date_ob.getTime()+43200000);\n');
document.write ('dc.cookie=');
document.write ("'");
document.write ('he=llo; path=/; expires=');
document.write ("'");
document.write ('+ date_ob.toGMTString();} // -->\n');
document.write ('</script>\n');
document.write ('<!-- FASTCLICK.COM POP-UNDER CODE v1.8 for miniclip.com -->\n');
}
if (position == 'Top') {
document.write ('<!-- \n');
document.write ('Support: http://ads.miniclip.com#Miniclip/Google_468_TOP#52769#Google_468-Creative.html#706fe#1098265643#431#Hc#Top#miniclip.com/other##\n');
document.write ('--><script type="text/javascript"><!--\n');
document.write ('google_ad_client = "pub-5727015998631701";\n');
document.write ('google_alternate_ad_url = "http://www.miniclip.com/swfcontent/banners/fillerad.swf";\n');
document.write ('google_ad_width = 468;\n');
document.write ('google_ad_height = 60;\n');
document.write ('google_ad_format = "468x60_as";\n');
document.write ('google_ad_channel ="0594885304";\n');
document.write ('google_ad_type = "text_image";\n');
document.write ('google_color_border = "FF9900";\n');
document.write ('google_color_bg = "FFFFFF";\n');
document.write ('google_color_link = "000000";\n');
document.write ('google_color_url = "000099";\n');
document.write ('google_color_text = "003366";\n');
document.write ('//--></script>\n');
document.write ('<script type="text/javascript"\n');
document.write ('  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">\n');
document.write ('</script>\n');
}
if (position == 'BottomLeft') {
document.write ('<A HREF="http://ads.miniclip.com/5c/miniclip.com/other/423182882/BottomLeft/Miniclip/default/empty.gif/63313464623332643432353264633430" target="_blank"><IMG SRC="http://a248.e.akamai.net/6/592/1130/0/oas-eu.247realmedia.com/0/Miniclip/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
}
