// JavaScript Document

function codes(file, w, h){
  pop=window.open (file, 'codes', config='height=380, width=260, toolbar=no, menubar=no, scrollbars=yes, resizable=no, location=no, directories=no, status=no');
pop.resizeTo(w, h);
//pop.document.open();
pop.focus();
//pop.document.write(CONTENT);
pop.document.close();
}

/* 

just add this as the link, the numbers being how large you would like the popup to be

<a href="javascript:codes('name_of_file.html', 850, 850)">link</a>

in the <head> section of the html file add 

<script type="text/javascript" src="path/to/file/popup_script.js"></script>


*/