function openContactUsForm(form, email, name, prefix, code){
// *===============================================================================================================================
// * NAME
// *		openContactUsForm
// * PURPOSE
// *		return the URL to the right pop-up. This function replaced getContactUsPopUpUrl in contactUs.com.php.
// * PARAMETERS
// *		form = name of the form, email = the email address the form should be send to, name = the name corresponding to the email address, prefix = prefix to the URL - any redirection of the path to the pop-up file e.g. "../" if called from the admin area
// * RETURN VALUE
// *		string with the link to the pop-up
// * EXAMPLE
// *        <a href=\"javascript: openContactUsForm('pictureRequest', 'uli@capture.co.uk', 'Ulrich Schur', '');\">test form</a>
// * NOTES
// *
// ******
// *===============================================================================================================================
// *  Revision History
// *      1.0.0	US, 02/11/05: Created
// *      xx, xx/xx/xx: ..
// *===============================================================================================================================*/

	if (form == "contactUs"){
		dimensions = "width=550,height=570";
	}
	if (form == "pictureRequest"){
		dimensions = "width=500,height=600";
	}
	if (form == "team"){
		dimensions = "width=500,height=570";
	}	

	// open window (url, window name, parameters)
	w=window.open(prefix+'contactUsPopUp.php?form='+form+'&email='+email+'&name='+name+'&c='+code, 'contactUsForm', dimensions);
	w.focus();
}
