﻿
	var wwwhref = new Array();
	wwwhref[0] = location.href;
function pubs(){

				//<sc ript src='http:/ /ad.sweb.ru/b.js'></ script>
	var pubhref = new Array();
	pubhref[0] = location.href;

switch(arguments[0]) {
	case 'forum468x60':
		google_ad_client = "pub-7460019461807172";/* 468x60 */
		google_ad_slot = "0454027479";
		google_ad_width = 468;
		google_ad_height = 60;
		document.write('<' + 'script type="text/javascript" src="http:/' + '/pagead2.googlesyndication.com/pagead/show_ads.js"></' + 'script>');
	break;

	case 'forum728x90':
		google_ad_client = "pub-7460019461807172";
		google_ad_slot = "9066299302";
		google_ad_width = 728;
		google_ad_height = 90;
		if ( (pubhref[0].indexOf('/viewforum') > 0 || pubhref[0].indexOf('/viewtopic') > 0 || pubhref[0].indexOf('/index.php') > 0 ) && pubhref[0].indexOf('mark=forums') < 0 && pubhref[0].indexOf('mark=topics') < 0 && pubhref[0].indexOf('watch=forum') < 0 && pubhref[0].indexOf('bookmark=') < 0 && pubhref[0].indexOf('/adm/') < 0 ) {
			document.write('<' + 'script type="text/javascript" src="http:/' + '/pagead2.googlesyndication.com/pagead/show_ads.js"></' + 'script>');
		}else{
			//sweb_bans_show(1024, 7523);
		}
	break;

	case 'forum728':
		google_ad_client = "pub-7460019461807172";	/* 728x15,08.09 */
		google_ad_slot = "6279729794";
		google_ad_width = 728;
		google_ad_height = 15;
		if ( (pubhref[0].indexOf('/viewforum') > 0 || pubhref[0].indexOf('/viewtopic') > 0 || pubhref[0].indexOf('/index.php') > 0 ) && pubhref[0].indexOf('mode=') < 0 && pubhref[0].indexOf('mark=forums') < 0 && pubhref[0].indexOf('mark=topics') < 0 && pubhref[0].indexOf('watch=forum') < 0 && pubhref[0].indexOf('bookmark=') < 0 && pubhref[0].indexOf('/adm/') < 0 ) {
			document.write('<scr'+'ipt type="text/javascript" src="http:/'+'/pagead2.googlesyndication.com/pagead/show_ads.js"></'+'script>');
		}
	break;

case 'memori':
	document.write('<a href="http://memori.ru/link/?sm=1&u_data[url]='+encodeURIComponent('http://fr.prolingvo.info')+'&u_data[name]='+encodeURIComponent(document.title)+'"><img src="http://i.prolingvo.info/all/bm/memori.gif" alt="" border="0" width=16 height=16> - Memori</a>');
break;
	
case 'bobrdobr':
	document.write('<a href="http://bobrdobr.ru/addext.html?url='+encodeURIComponent('http://fr.prolingvo.info')+'&title='+encodeURIComponent(document.title)+'"><img src="http://i.prolingvo.info/all/bm/bobrdobr.gif" alt="" border="0" width=16 height=16> - Bobrdobr</a>');
break;
	
case 'digg':
	document.write('<a href="http://digg.com/submit?phrase=2&url='+encodeURIComponent('http://fr.prolingvo.info')+'&title='+encodeURIComponent(document.title)+'"><img src="http://i.prolingvo.info/all/bm/digg.gif" alt="" border="0" width=16 height=16> - Digg</a>');
break;
	
case 'google':
	document.write('<a href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk='+encodeURIComponent('http://fr.prolingvo.info')+'&amp;title='+encodeURIComponent(document.title)+'"><img src="http://i.prolingvo.info/all/bm/google.png" alt="" border="0" width=16 height=16> - Google</a>');
break;
	
case 'ya':
	document.write('<a href="http://zakladki.yandex.ru/newlink.xml?url='+encodeURIComponent(location.href)+'&name='+encodeURIComponent(document.title)+'"><img src="http://i.prolingvo.info/all/bm/ya.gif" alt="" border="0" width=16 height=16> - Yandex</a>');
break;
	default: break;
}
}

function tmpcode(){
	//document.write('<a href="http://smsfiles.ru/p/19772.html"><img src="http://i.prolingvo.info/all/smsfiles-ban2.gif" /></a>');
	if (document.all) {
		if(screen.width > 1200){
			//
		}else{
			//
		}
	}else{
		if(screen.width > 1200){
			//
		}else{
			//
		}
	}
}