	function schovajflash(){
		$('#flash_1').hide();
		$('#flash_2').hide();
	};
	
	function zobrazflash(){
		$('#flash_1').show();
		$('#flash_2').show();
	};

	
	function nastavpredajcu(predajca_meno,predajca_foto,predajca_mail,predajca_tel,predajca_skype,url) {
		
		
		formular="<form action='http://www.stavstroj.sk/napiste.php' method='post' id='dotaz_form' onsubmit='return formValidator()'><div id='napiste_specialistovi'><h2 title='Napíšte špecialistovi'></h2><div class='in'><div class='left' ><div class='left_in'><img src='pictures/kontakt/pracovnici/"+predajca_foto+"' style='width:60px;height:65px;' alt='"+predajca_meno+"' /></div></div><div class='right'><b>"+predajca_meno+"</b><br /><span style='color:#AA0000;'>"+predajca_tel+"</span><br /><a href='mailto:"+predajca_mail+"' title='"+predajca_mail+"' class='text_red_10' style='display:inline;'>e-mail</a><br />";
		if(predajca_skype!=""){
			formular=formular+"<a href='callto://"+predajca_skype+"' title='"+predajca_skype+"' class='text_red_10' style='display:inline;'>skype</a><br />";
		}
		formular=formular+"</div><div class='cleaner' style='margin-bottom:10px;'></div><label>Vaše meno:<span style='color:#AA0000'>*</span></label><input name='mail_meno' id='mail_meno' type='text' size='18' /><div class='cleaner' style='margin-bottom:5px;'></div><label>E-mail:<span style='color:#AA0000'>*</span></label><input name='mail_mail' id='mail_mail' type='text' size='18' value='@' /><div class='cleaner' style='margin-bottom:5px;'></div><label>Tel.č.:</label><input name='mail_tel' id='mail_tel' type='text' size='18' value='' /><div class='cleaner' style='margin-bottom:5px;'></div><label>Text správy:<span style='color:#AA0000'>*</span></label><div class='cleaner' style='margin-bottom:3px;'></div><textarea name='mail_text' id='mail_text'  rows='4' cols='31'></textarea><input name='mail_mail_predajca' id='mail_mail_predajca' type='hidden' value='"+predajca_mail+"' /><input name='mail_meno_predajca' id='mail_meno_predajca' type='hidden' value='"+predajca_meno+"' /><input name='mail_url' id='mail_url' type='hidden' value='"+url+"' /><div class='cleaner' style='margin-bottom:3px;'></div><span class='text_black_10px'><span style='color:#AA0000'>*</span>) Povinné polia</span><br /><input type='submit' name='submit' value='&nbsp;' style='border:0 none;margin:0;padding:0;margin-top:5px;height:22px;width:103px;margin-left:86px;background-color:#999;line-height:22px;background-repeat:no-repeat;background-position:top left;background-image:url(pictures/button_odoslat.gif)' /></div></div></form>";
		
		new Boxy(formular,	{
			afterHide: function() {
				zobrazflash();
			}, closeText: 'Zatvoriť',
			unloadOnHide: true
		});
	};
	
