<!--// begin hiding
leftpos=0
if(screen){
leftpos=screen.width-650
}
function opwin(url,w,h){
  popup=window.open(url, 'win', 'width='+w+',height='+h+',left='+leftpos+',top=50')
}

function haveToLogin()
	{
	if (confirm("Musisz się zalogować by korzystać z tego działu!!!"))
		{
			parent.location.href="index.php?d=5";		
			return true;
		}
	}	
         function greetings(){
			popup=window.open('/pop/greetings.php', 'greetings', 'width=260,height=318,left='+leftpos+',top=50')
		}	
         function jazda(id,typ){
			popup=window.open('/pop/jazda.php?clip='+id+'&typ='+typ+'', 'jazda', 'scrollbars=no width=325,height=255,left='+leftpos+',top=50')
		}
         function plytoteka(id){
			popup=window.open('/pop/plytoteka.php?cd='+id+'', 'plytoteka', 'scrollbars=yes width=480,height=480,left='+leftpos+',top=50')
		}
         function select_g(tryb){
			popup=window.open('/pop/select.php?who='+tryb+'', 'select_g', 'width=245,height=318,left='+leftpos+',top=50')
		}			
		function kontakt(){
			popup=window.open('/pop/index_kontakt.html', 'kontakt', 'width=257,height=313,left='+leftpos+',top=50')
		}
		function ilista(id){
			popup=window.open('/pop/pop_i_lista.php?uid='+id+'', 'ilista', 'width=251,height=315,left='+leftpos+',top=50')
		}			
        function praca(){
			popup=window.open('/pop/praca/pop_praca.php', 'praca', 'width=448,height=497,left='+leftpos+',top=50')
		}
         function login(){
			popup=window.open('/pop/pop_newuser.php', 'login', 'width=470,height=270,left='+leftpos+',top=50')
		}
         function profile(){
			popup=window.open('/pop/pop_edit_profile.php', 'profile', 'width=470,height=270,left='+leftpos+',top=50')
		}		

		function chat() {
		popup=window.open('http://chat.mtv.pl/', 'chat', 'width=773,height=511,left=20,top=50')
		
		}
		function wydarzenia(id,wh){
			popup=window.open('/pop/pop_wydarzenia.php?event='+id+'', 'wydarzenia'+id+'', 'width=220,height='+wh+',left='+leftpos+',top=50')
		}

        
        function radio(){
			popup=window.open('http://www.mtv.pl/pop/pop_radio.php', 'radio', 'width=353,height=180,left='+leftpos+',top=50')
		}
        

        function swietlica(){
			popup=window.open('http://www.mtv.pl/pop/swietlica.html', 'swietlica', 'width=440,height=250,left='+leftpos+',top=50')
		}

		function konkursy(id){
			popup=window.open('/pop/konkursy/index_konkursy_popup.php?konkurs='+id+'', 'konkurs', 'width=539,height=326,left='+leftpos+',top=50')
		}

		function nomtv(){
			popup=window.open('/pop/nomtv/index_nomtv_popup.php', 'nomtv', 'width=361,height=495,left='+leftpos+',top=50')
		}		
         function lost_pass(){
			popup=window.open('/pop/pop_lost_pass.php', 'lost_pass', 'width=470,height=270,left='+leftpos+',top=50')
		}		

        function search(){
		ie = (document.all)? true:false	
		if(ie) 
			SearchString = document.searchfrm.txtSearch.value;
		else SearchString = document.searchlayer.document.searchfrm.txtSearch.value;
		
		popup=window.open('/pop/search/index.php?str='+SearchString+'', 'searchpop', 'width=332,height=373,left='+leftpos+',top=50')

		}		
			
// end hiding -->