var Pictures=Array();
Pictures[0]=Array("http://www.irr.ru/cars/passenger/showAdvert,35925421,34,34.html","http://znl.trilan.ru/informer/work_images/16/108.gif","Самая дорогая тачка на IRR.RU");
Pictures[1]=Array("http://www.irr.ru/cars/passenger/new/showAdvert,39765172,745,34.html","http://znl.trilan.ru/informer/work_images/16/523.gif","Купи эту тачку - пусть сосед сопьётся от зависти");
Pictures[2]=Array("http://www.irr.ru/cars/passenger/new/showAdvert,40599558,745,34.html","http://znl.trilan.ru/informer/work_images/16/524.gif","Выжми всё - Ssang Yong для быстрых");
Pictures[3]=Array("http://www.irr.ru/cars/passenger/new/showAdvert,39506088,745,34.html","http://znl.trilan.ru/informer/work_images/16/533.gif","Интеллигентный автомобиль - твой выбор!");
Pictures[4]=Array("http://www.irr.ru/cars/passenger/used/showAdvert,46512143,746,34.html","http://znl.trilan.ru/informer/work_images/16/753.gif","Поцелуй меня в спину! Lexus - Нас не догонят!");
Pictures[5]=Array("http://www.irr.ru/cars/passenger/used/showAdvert,45001191,746,34.html","http://znl.trilan.ru/informer/work_images/16/754.gif","Пора менять приоритеты. Твоя цель - Rolls-Royce. Жми!");
Pictures[6]=Array("http://www.irr.ru/cars/passenger/used/showAdvert,44112673,746,34.html","http://znl.trilan.ru/informer/work_images/16/755.gif","Поговорим о тачках: ты её ещё не видел?");
Pictures[7]=Array("http://www.irr.ru/cars/passenger/used/showAdvert,43733943,746,34.html","http://znl.trilan.ru/informer/work_images/16/756.gif","Хочешь Bentley уже сейчас? Смотри!");
Pictures[8]=Array("http://www.irr.ru/cars/passenger/used/showAdvert,44591945,746,34.html","http://znl.trilan.ru/informer/work_images/16/757.gif","Ferrari - почувствуй себя Шумахером!");
Pictures[9]=Array("http://www.irr.ru/cars/passenger/used/showAdvert,46035933,746,34.html","http://znl.trilan.ru/informer/work_images/16/758.gif","Поговорим о мордах: морда реальной тачки посмотреть здесь!");
Pictures[10]=Array("http://www.irr.ru/cars/passenger/used/showAdvert,44184054,746,34.html","http://znl.trilan.ru/informer/work_images/16/759.gif","Белый автомобиль - чистота намерений! Скажи &quot;да&quot;!");
Pictures[11]=Array("http://www.irr.ru/cars/passenger/used/showAdvert,46171281,746,34.html","http://znl.trilan.ru/informer/work_images/16/760.gif","Жми газ! Время комфортного вождения пришло.");
Pictures[12]=Array("http://www.irr.ru/cars/passenger/used/showAdvert,45985217,746,34.html","http://znl.trilan.ru/informer/work_images/16/761.gif","Раритет Mercedes 1952г. Посмотреть спереди.");
Pictures[13]=Array("http://www.irr.ru/cars/passenger/used/showAdvert,46797972,746,34.html","http://znl.trilan.ru/informer/work_images/16/762.gif","BMW 645 - немецкое качество! Посмотри и купи!");
Pictures[14]=Array("http://www.irr.ru/cars/passenger/used/showAdvert,46513704,746,34.html","http://znl.trilan.ru/informer/work_images/16/763.gif","Toyota Land Cruiser - преодолевая препятствия.");
Pictures[15]=Array("http://www.irr.ru/cars/passenger/used/showAdvert,46227970,746,34.html","http://znl.trilan.ru/informer/work_images/16/764.gif","Мерседес должен быть чёрным. Настощий Мерседес здесь!");



var rand_flag=true;

	
try {
	
	if (trilan_href_right==null) trilan_href_right=false;
	
} catch (e) {
	
	var trilan_href_right=false;
	
}

try {
	
	if (trilan_pic_width==null) trilan_pic_width=92;
	
} catch (e) {
	
	var trilan_pic_width=92;
	
}

try {
	
	if (trilan_pic_height==null) trilan_pic_height=92;
	
} catch (e) {
	
	var trilan_pic_height=92;
	
}

try {
	
	if (trilan_href_count==null) trilan_href_count=5;
	
} catch (e) {
	
	var trilan_href_count=5;
	
}

try {
	
	if (trilan_horizontal==null) trilan_horizontal=true;
	
} catch(e) {
	
	var trilan_horizontal=true;
	
}

try {

	if (trilan_informer_border_size==null) trilan_informer_border_size=1;
	
} catch(e) {

	var trilan_informer_border_size=1;
	
}

try {

	if (trilan_informer_pic_border_size==null) trilan_informer_pic_border_size=1;
	
} catch(e) {

	var trilan_informer_pic_border_size=1;
	
}

function get_informer(){
			
	if (trilan_horizontal){
		
		document.write('<table border="0" cellpadding="0" cellspacing="5" width="'+trilan_informer_size+'" height="92" style="border:'+trilan_informer_border_size+'px solid '+trilan_informer_border_color+';" bgcolor="'+trilan_informer_bg_color+'">');
		
	} else {
		
		document.write('<table border="0" cellpadding="0" cellspacing="10" width="'+trilan_informer_size+'" style="border:'+trilan_informer_border_size+'px solid '+trilan_informer_border_color+';" bgcolor="'+trilan_informer_bg_color+'">');
		
	}
	
	if (trilan_horizontal){
		
		document.write('<tr>');
		
		for (var i=0;i<trilan_href_count;i++){
						
			document.write('<td align="center" valign="top">');
			
			if (rand_flag){	
			
				magic_index=(Math.round(Math.random()*(Pictures.length-1)));
			
				document.write("<a style='color:"+trilan_informer_href_color+"; font-size:"+trilan_informer_href_size+"px;' target='_blank' href='"+Pictures[magic_index][0]+"'><img width='"+trilan_pic_width+"' height='"+trilan_pic_height+"' style='border:"+trilan_informer_pic_border_size+"px solid "+trilan_informer_pic_bg_color+";' src='"+Pictures[magic_index][1]+"' width='92' height='92' border='0' /><br />"+Pictures[magic_index][2]+"</a>");
				
			} else {
			
				try {
				
					document.write("<a style='color:"+trilan_informer_href_color+"; font-size:"+trilan_informer_href_size+"px;' target='_blank' href='"+Pictures[i][0]+"'><img width='"+trilan_pic_width+"' height='"+trilan_pic_height+"' style='border:"+trilan_informer_pic_border_size+"px solid "+trilan_informer_pic_bg_color+";' src='"+Pictures[i][1]+"' width='92' height='92' border='0' /><br />"+Pictures[i][2]+"</a>");
				
				} catch (e) { }
			
			}
				
			document.write('</td>');
			
		}
		
		document.write('</tr>');
		
	} else {
		
		for (var i=0;i<trilan_href_count;i++){
			
			if (!trilan_href_right){
			
			document.write('<tr>');
			
				document.write('<td align="center" valign="top">');
				
				if (rand_flag){
				
					magic_index=(Math.round(Math.random()*(Pictures.length-1)));
			
					document.write("<a style='color:"+trilan_informer_href_color+"; font-size:"+trilan_informer_href_size+"px;' target='_blank' href='"+Pictures[magic_index][0]+"'><img width='"+trilan_pic_width+"' height='"+trilan_pic_height+"' style='border:"+trilan_informer_pic_border_size+"px solid "+trilan_informer_pic_bg_color+";' src='"+Pictures[magic_index][1]+"' width='92' height='92' border='0' /><br />"+Pictures[magic_index][2]+"</a>");
					
				} else {
				
					try {
				
					document.write("<a style='color:"+trilan_informer_href_color+"; font-size:"+trilan_informer_href_size+"px;' target='_blank' href='"+Pictures[i][0]+"'><img width='"+trilan_pic_width+"' height='"+trilan_pic_height+"' style='border:"+trilan_informer_pic_border_size+"px solid "+trilan_informer_pic_bg_color+";' src='"+Pictures[i][1]+"' width='92' height='92' border='0' /><br />"+Pictures[i][2]+"</a>");
				
					} catch (e) { }
				
				}
				
				document.write('</td>');
			
			document.write('</tr>');
			
			} else {
			
				document.write('<tr>');
			
				document.write('<td align="center" valign="top">');
				
				if (rand_flag){
				
					magic_index=(Math.round(Math.random()*(Pictures.length-1)));
			
					document.write("<a style='color:"+trilan_informer_href_color+"; font-size:"+trilan_informer_href_size+"px;' target='_blank' href='"+Pictures[magic_index][0]+"'><img width='"+trilan_pic_width+"' height='"+trilan_pic_height+"' style='border:"+trilan_informer_pic_border_size+"px solid "+trilan_informer_pic_bg_color+";' src='"+Pictures[magic_index][1]+"' width='92' height='92' border='0' /></a></td><td><a style='color:"+trilan_informer_href_color+"; font-size:"+trilan_informer_href_size+"px;' target='_blank' href='"+Pictures[magic_index][0]+"'>"+Pictures[magic_index][2]+"</a></td>");
					
				} else {
				
					try {
				
					document.write("<a style='color:"+trilan_informer_href_color+"; font-size:"+trilan_informer_href_size+"px;' target='_blank' href='"+Pictures[i][0]+"'><img width='"+trilan_pic_width+"' height='"+trilan_pic_height+"' style='border:"+trilan_informer_pic_border_size+"px solid "+trilan_informer_pic_bg_color+";' src='"+Pictures[i][1]+"' width='92' height='92' border='0' /></a></td><td><a style='color:"+trilan_informer_href_color+"; font-size:"+trilan_informer_href_size+"px;' target='_blank' href='"+Pictures[i][0]+"'>"+Pictures[i][2]+"</a></td>");
				
					} catch (e) { }
				
				}
				
				document.write('</tr>');
			
			}
			
		}
		
	}
	
	document.write('</table>');
	
}