/* Submits a form to the tickbox...
	 Add the following to the forms you want to be processed by thickbox...
	 
	 <input type="hidden" name="greybox" value="true">
	 <input type="hidden" name="height" value="300">
	 <input type="hidden" name="width" value="300">
	 <input type="hidden" name="title" value="title">

*/
	GB_submit = function(theForm) {
	//the following variables could be loaded also from form fields...

	if (theForm.greybox.value = 'true') {
    var formValues = '';
    for (var i = 0; i<theForm.elements.length; i++) {
                formValues += '&' + theForm.elements[i].name + '=' +theForm.elements[i].value ;
    }
	
	var u = "../" + theForm.url.value + '?' + formValues;
		var t = theForm.title.value;
 	// show the ThickBox
		GB_showCenter(t, u, parseInt(theForm.height.value), parseInt(theForm.width.value));
		};
		return false;
	};

