/* OnlineOpinion v4.1.7 */
/* This product and other products of OpinionLab, Inc. are protected by U.S. Patent No. 6606581, 6421724, 6785717 B1 and other patents pending. */

/* Create new OnlineOpinion Object instance */
var oOobj3 = new OnlineOpinion.ocode(); 

/* OnlineOpinion Object Preferences */
oOobj3.Preferences = {
		/* Configure Object Persitence (REQUIRED) */
		Persistence: {
			enabled: false, 			// Disapear onClick
			cookie_name: 'oo_event',	// cookie name 
			cookie_type: 'domain', 		// Remembers which page got rated
			expiration: 0	 		// How long to remember each page got Rated (in secs)
		},
		/* Configure Object Parameters (REQUIRED) */
		Render: {
			type: 'event'
		},
		Plugins: {
			/* Configure URL Rewrite (optional) */
			URLRewrite: {
				active: false,
				regex_search_pattern: '' ,
				regex_replace_pattern: '',
				full_url_rewrite: ''
			},
			/* Configure Embedded Comment Card (optional) */
			CardOnPage: {
				enabled: false,
				close_link: 'Close',
				overlay_close: false,
				loader_path: '/onlineopinionOO4S/loading.gif'

			},
			/* Configure Event Probabilities for Comment Cards (REQUIRED for Event Driven Objects) */
			Events: {
				poE: 0.0,				// Probability on Entry 
				poC: 1.0,				// Probability on Click
				poX: 0.0,				// Probability on Exit
				onEntryDelay: 0,  		// How long to delay card on Entry (in secs)
				clickDelay: 0 			// How long to delay card on Click (in secs)
			}
		}
}

/* Configure Custom Variables to Accompany Survey (optional) */
// oOobj3.Metrics.custom.clientID = 1234;
// oOobj3.Metrics.custom.countryCode = 'usa';

/* Call Back on Page Entry (REQUIRED for Event Driven Objects) */
OnlineOpinion.util.SafeAddOnLoadEvent(function(){oOobj3.onEntry()});

/* Call Back on Page Exit (REQUIRED for Event Driven Objects) */
OnlineOpinion.util.SafeAddOnUnLoadEvent(function(){oOobj3.onExit()});

/* Call Back on Site Exit (optional for Site Exit Event Driven Objects) */
//OnlineOpinion.util.SafeAddOnLoadEvent(function(){oOobj3.onEntry();OnlineOpinion.util.walkAnchors(document.body, 10, /^(http:\/\/pegasus\.local|http:\/\/www\.google\.com)/i, oOobj3)});

/*  OnlineOpinion v4.1.7, Copyright 2010 Opinionlab, Inc. */
