/* 
 * NimbleHost Solid VIP
 * Copyright 2010. All rights reserved.
 *
 */

function nimblehostSolidVIP() {
	var solidPanelConfig = {
		sensitivity: 3, // number = sensitivity threshold (must be 1 or higher)    
		interval: 50, // number = milliseconds for onMouseOver polling interval    
		over: solidRevealPanel, // function = onMouseOver callback (REQUIRED)    
		timeout: 400, // number = milliseconds delay before onMouseOut    
		out: solidHidePanel
		};
	
	function solidRevealPanel(){
		$flexture('#visitorInteractionPanel ul').slideDown('normal');
	}
	
	function solidHidePanel(){
		$flexture('#visitorInteractionPanel ul').slideUp('normal');
	}
	
	if( !(navigator.userAgent.match(/iPad/i)) ) {
		$flexture('#visitorInteractionPanel').hoverIntent(solidPanelConfig);
	}
}

$flexture(document).ready(function() {
	if( !((navigator.userAgent.match(/iPhone/i))||(navigator.userAgent.match(/iPod/i))||(navigator.userAgent.match(/Android/))||(navigator.userAgent.match(/webOS/))) ) {
		visitorInteractionPanel();
		nimblehostSolidVIP();
	}
});
