function OpenSearch() {
	
	// This function builds the URL string for the search page
	// and opens that page. Only edit the values for the variables
	// enclosed in the section marked "Editable area...End of editable area".
	// If a variable should not have a value, place an empty string (represented as "")
	// for the value. The search page will have default values for 
	// these variable with the exception of "email", "phone", and "title";
	// you must add a value for these three variables.

	var id = "89";   //ID provided by Invisible Patterns; DO NOT EDIT.

	// EDITABLE AREA: 
	// Edit the values ONLY for these variables; edit only the part between the set of
	// double quotation marks. Use an empty string ("") for those variables that do not 
	// have/require a value. 
	// Example: if your site uses only the font "Arial" for the site's 
	// text, you will change the following line:
	//		var font_family = URLencode("Verdana,Arial,Helvetica");
	// to:
	//		var font_family = URLencode("Arial");
	// If a font is not specified for your site, you will change that same line to:
	//		var font_family = URLencode("");

	var font_family = URLencode("Arial,Pegasus");   // Add font used for text on website here
	var font_color = URLencode("#000000");   // Add font color used for text on website here; use hexadecimal value
	var a_link = URLencode("#0000ff");   // Add font color for links used in website here; use hexadecimal value
	var a_active = URLencode("#ff0000");   // Add font color for links used in website here; use hexadecimal value
	var a_visited = URLencode("#0000ff");   // Add font color for visited links used in website here; use hexadecimal value
	var a_hover = URLencode("#ff0000");   // Add font color for "hovering" over links used in website here; use hexadecimal value
	var body_bg = URLencode("#ffffff");   // Add background color used in body for website here; use hexadecimal value
	var email = URLencode("info@accuguard.biz");   // Add contact email used in website here; REQUIRED
	var phone = URLencode("954-394-8250");   // Add contact phone used in website here; REQUIRED
	var title = URLencode("AccuGuard");   // Add title for website as you want it to appear on the search window; REQUIRED
	// END OF EDITABLE AREA

	//URL for the search window is strung together here; do not edit.
	var url = "http://members.invisiblepatterns.com/pattern_search.php?&region=na&type=1" + id + "&font_family=" + font_family + "&font_color=" + font_color + "&a_link=" + a_link + "&a_active=" + a_active + "&a_visited=" + a_visited + "&a_hover=" + a_hover + "&body_bg=" + body_bg + "&website=" + window.location.hostname + "&email=" + email + "&phone=" + phone + "&title=" + title

	//Search window is opened; do not edit.
	window.open(url,"invisiblepatternsearch","width=745,height=500,status=yes,resizable=yes,scrollbars=yes");

}

function URLencode(sStr) {
	//Function from http://www.rgagnon.com/jsdetails/js-0096.html;
	//Encodes a URL string 
    return escape(sStr).replace(/\+/g, '%2C').replace(/\"/g,'%22').replace(/\'/g, '%27');
}