﻿function openPdf(url)
{
	var winWidth = 465
	var winHeight = 720
		
	if (screen.width==800||screen.height==600){
		winHeight = 582
		}
	else if (screen.width<=1024||screen.height<=768){
		winHeight = 582
		}			
	page="registration.aspx?relatedlink=" + url;
	newWin = window.open(page,"newWin","width=" + winWidth + ",height=" + winHeight + ",scrollbars=1, resizable=1")
	//window.setTimeout("focusWin(newWin)",20)
}

function openRegistrationForm()
{
	var winWidth = 465
	var winHeight = 720
		
	if (screen.width==800||screen.height==600){
		winHeight = 582
		}
	else if (screen.width<=1024||screen.height<=768){
		winHeight = 582
		}			
	page="registration.aspx?nolink=yes"
	newWin = window.open(page,"newWin","width=" + winWidth + ",height=" + winHeight + ",scrollbars=1, resizable=1")
}