function image_clicked(source,str,number)
{
popup(source,str,number)
}

function popup(str,number)
{
var filename;

if(number==1)
{
	filename="profilesnew/pic1.jpg"
	}
	if(number==2)
{
	filename="profilesnew/pic2.jpg"
	}
	if(number==3)
{
	filename="profilesnew/pic3.jpg"
	}
	if(number==4)
{
	filename="profilesnew/pic4.jpg"
	}
	if(number==5)
{
	filename="profilesnew/pic5.jpg"
	}
	
		if(number==6)
{
	filename="profilesnew/pic6.jpg"
	}
	
		if(number==7)
{
	filename="profilesnew/pic7.jpg"
	}
	
		if(number==8)
{
	filename="profilesnew/pic8.jpg"
	}
	
		if(number==9)
{
	filename="profilesnew/pic9.jpg"
	}
	
		if(number==10)
{
	filename="profilesnew/pic10.jpg"
	}
			if(number==11)
{
	filename="profilesnew/pic11.jpg"
	}
	
			if(number==12)
{
	filename="profilesnew/pic12.jpg"
	}
	
			if(number==13)
{
	filename="profilesnew/pic13.jpg"
	}
	
			if(number==14)
{
	filename="profilesnew/pic14.jpg"
	}
	
			if(number==15)
{
	filename="profilesnew/pic15.jpg"
	}
	
			if(number==16)
{
	filename="profilesnew/pic16.jpg"
	}
	
			if(number==17)
{
	filename="profilesnew/pic17.jpg"
	}
	
			if(number==18)
{
	filename="profilesnew/pic18.jpg"
	}
	
			if(number==19)
{
	filename="profilesnew/pic19.jpg"
	}
	
	

var popwindow=window.open("","mainWin","toolbar=no,scrollbars=no,status=no,resizable=no,menubar=no,locationbar=no,fullscreen=no,location=no,top=400,left=500,width=333,height=500");
popwindow.document.open();
popwindow.document.write("<html><head><title>Profiles :: TR14ers</title>");
popwindow.document.write("<style type='text/css'>");
popwindow.document.write("body{background-image:url(/"+filename+");background-repeat:no-repeat;}");
popwindow.document.write("</style>");
popwindow.document.write("<body></body></html>");
popwindow.document.close();
	
}
