// -------------------------------------------------------- //
// 			  		  Popup Window System					//
//		      Designed by Blue Dwarf Interactive			//
//				     www.bluedwarf.com.au					//
//          Copyright (c) Alistair Ollington, 2006          //
// -------------------------------------------------------- //

// OpenWindow function creates the window ...	
function OpenWindow(theURL,winName) {

  // This opens a new window with the var name pop 
  pop = window.open(theURL, winName, 'height=415, width=450, scrollbars=no, top=25, left=50');
  
  // This writes the html so that the theme stays like the website and calls the information
  // from the items array, according to the arrayValue submitted to the function
  pop.document.write("<head>");
  pop.document.write("<title>Website Disclaimer</title>");
  pop.document.write("<style>");
  pop.document.write("br.med { line-height: 7px; }");
  pop.document.write("</style>");
  pop.document.write("</head>");
  pop.document.write("<body style=\"margin: 20px; font: normal 12px Arial;\">");
  pop.document.write("<div style=\"border: solid 1px #004080; font: normal 11px Arial; padding: 15px;\">");
  pop.document.write("<b>Website Disclaimer</b>");
  pop.document.write("<br><br class=\"med\">");
  pop.document.write("&nbsp; Information on this website is general in nature and does not constitute financial advice.");
  pop.document.write("<br><br class=\"med\">");
  pop.document.write("&nbsp; Graeme Drake Financial Services will endeavour to update this website as needed. However, information ");
  pop.document.write("can change without notice and Graeme Drake Financial Services does not guaramtee the accuracy of ");
  pop.document.write("information on the website, including information provided by third parties, at any particular time.");
  pop.document.write("<br><br class=\"med\">");
  pop.document.write("&nbsp; Every effort has been made to ensure that the information provided is accurate. Individuals must not ");
  pop.document.write("rely on this information to make a financial or investment decision. Before making any decision we ");
  pop.document.write("recommend consulting a financial planner to take into account your particular investment objectives, ");
  pop.document.write("financial situation and individual needs.");
  pop.document.write("<br><br class=\"med\">");
  pop.document.write("&nbsp; Graeme Drake Financial Services does not give any warranty as to the accuracy, reliability or completeness ");
  pop.document.write("of information which is contained in this website. Except insofar as any liability under statute cannot ");
  pop.document.write("be excluded, Graeme Drake Financial Services and its employees do not accept any liability for any error ");
  pop.document.write("or omission one this website or for any resulting loss or damage sufferred by the recipient or any other person.");
  pop.document.write("<br><br class=\"med\">");
  pop.document.write("&nbsp; Unless otherwise specified, copyright of information provided on this website is owned by, Graeme Drake ");
  pop.document.write("Financial Services. You may not alter or modify this information in any way, including the removal of ");
  pop.document.write("this copyright notice.");
  pop.document.write("</body>");
}
