<!--
		/* Function to insert an image into a UQCMS page        */
		/* simply pass the imageurl variable and optionally     */
		/* the pageurl and classname eg:                        */
		/* insertspecialimage("[[imageurl]]", "", "newsimage"); */
		/* created: by bjbasso, garrow 06/12/07					*/
		/* modified:											*/
		
		function insertspecialimage(imageurl, pageurl, classname)
		{ 
			var pageurl = (pageurl == null) ? "" : pageurl;
			var classname = (classname == null) ? "" : classname;
			
			if (imageurl !="" && pageurl !=""){
			 document.write("<div class='"+classname+"'><a href='"+pageurl+"'><img src='"+imageurl+"' border='0' /></a></div>");
			}
			else if (imageurl !=""){
			 document.write("<div class='"+classname+"'><img src='"+imageurl+"' border='0' /></div>");
			}
			
		}
		
		/* Function to pop up a blank window					*/
		/* created: by bjbasso, 06/12/07					*/
		/* modified:											*/
		
		function popblank(file) {
			popup = window.open(file,'blank','width=768,height=506,screenX=50,screenY=50');
			popup.focus();
		}
//-->