function newWindow(externalURL)
{
 	my_window = window.open(externalURL,"mywindow","menubar=yes,resizable=yes,scrollbars=yes,status=yes,location=yes,toolbar=yes,width=725,height=500,left=0,top=210");

	if(my_window.open)
 	{
    	my_window.focus();
	}	
}

function newWindow2(externalURL)
{
 	staff_window = window.open(externalURL,"staffwindow","menubar=no,resizable=no,scrollbars=yes,status=no,location=no,toolbar=no,width=380,height=310,left=450,top=520");

	if(staff_window.open)
 	{
    	staff_window.focus();
	}	
}

function newWindow3(externalURL)
{
 	program_window = window.open(externalURL,"program","menubar=no,resizable=no,scrollbars=yes,status=no,location=no,toolbar=no,width=520,height=200,left=325,top=350");

	if(program_window.open)
 	{
    	program_window.focus();
	}
}	
	

function newWindow4(externalURL)
{
 	interest_window = window.open(externalURL,"interest","menubar=n,resizable=yes,scrollbars=yes,status=yes,location=no,toolbar=no,width=520,height=200,left=325,top=400");

	if(interest_window.open)
 	{
    	interest_window.focus();
	}
}
	
	
function newWindow5(externalURL)
{
 	interest_window = window.open(externalURL,"interest","menubar=n,resizable=no,scrollbars=no,status=n0,location=no,toolbar=no,width=300,height=200,left=305,top=200");

	if(interest_window.open)
 	{
    	interest_window.focus();
	}
}

function newWindow6(externalURL)
{
 	interest_window = window.open(externalURL,"interest","menubar=n,resizable=no,scrollbars=no,status=yes,location=no,toolbar=no,width=300,height=233,left=305,top=200");

	if(interest_window.open)
 	{
    	interest_window.focus();
	}
}	


function pdf(pdf_file) {

// calling URL format
// <a href="javascript:pdf('../pdf/file_name.pdf');" class="smallURL"><strong>Link name</strong></a> 	

var pdf_window = window.open(pdf_file,"pdfwindow","menubar=yes,resizable=yes,scrollbars=yes,status=yes,location=yes,toolbar=yes,width=600,height=350,left=50,top=50");
var pdf_URL =  "<a href=" + pdf_file + " target=\"pdfwindow\" class=\"smallURL\"><strong>Go</strong></a>";

pdf_window.document.write("<html>\n<head>\n<title>University Transfer - Seneca College</title>\n");
pdf_window.document.write("<link href=\"../css/CareerServices.css\" type=\"text/css\" rel=\"stylesheet\">\n");
pdf_window.document.write("<script language=\"JavaScript\" type=\"text/JavaScript\" src=\"../js/popupWindow.js\"></script>\n");
pdf_window.document.write("</head>\n<body bgcolor=\"#ffffff\">\n");
pdf_window.document.write("<br><br><br>\n");
pdf_window.document.write("\n<table border=\"0\" width=\"100%\" cellpadding=\"4\" cellspacing=\"0\">\n");
pdf_window.document.write("<tr>\n");
pdf_window.document.write("<td colspan=\"2\" align=\"center\" class=\"smallBlackText\">You are about to leave the Career Services Site, are you sure?</td>\n");
pdf_window.document.write("</tr>\n");
pdf_window.document.write("<tr bgcolor=\"#f0f0f0\">\n");
pdf_window.document.write("<td width=\"50%\" align=\"center\" bgcolor=\"#f0f0f0\"><a href=\"javascript:self.close();\" class=\"smallURL\"><strong>Back</strong></a></td>\n");
pdf_window.document.write("<td width=\"50%\" align=\"center\" bgcolor=\"#f0f0f0\">" + pdf_URL + "</td>\n");
pdf_window.document.write("</tr>\n");
pdf_window.document.write("<tr>\n");
pdf_window.document.write("<td colspan=\"2\">&nbsp;</td>\n");
pdf_window.document.write("</tr>\n");
pdf_window.document.write("<tr>\n");
pdf_window.document.write("<td colspan=\"2\" class=\"smallBlackText\">");
pdf_window.document.write("You need Adobe Acrobat or Reader installed on your computer to view this page.<br><br>\n"); 
pdf_window.document.write("*If you cannot access the PDF files, you need to download and install Adobe Acrobat or Reader.<br>\n"); 
pdf_window.document.write("Adobe Reader is available for free at <A href=\"javascript: newWindow('http://www.adobe.com/products/acrobat/readstep2.html')\" class=\"smallURL\">http://www.adobe.com/products/acrobat/readstep2.html</a>\n"); 
pdf_window.document.write("</td>\n");
pdf_window.document.write("</tr>\n");										 
pdf_window.document.write("\n</table>\n");
pdf_window.document.write("\n<\/BODY>\n<\/HTML>");
pdf_window.document.close();
pdf_window.focus();

}