jQuery.fn.qtip.styles.diabolic = { // Last part is the name of the style

	   background : '#363636',
	   color: 'white',
	   textAlign: 'center',
	   
       border: {
			 width: 1,
			 radius: 2,
			 color: '#A2D959'
      	}
},
jQuery.fn.qtip.styles.lang = { // Last part is the name of the style

	   background : 'transparent',
	   color: 'white',
	   textAlign: 'center',
	   
       border: {
			 width: 0,
			 radius: 0,
			 color: 'none'
      	}
},
jQuery.fn.qtip.styles.services = { // Last part is the name of the style

	   background : '#eeeeee',
	   color: '#353535',
	   textAlign: 'left',
	   
       border: {
			 width: 1,
			 radius: 2,
			 color: '#363636'
      	}, 
}

jQuery(document).ready(function() {

//Language_bar
jQuery("#container").qtip({
   content: '<div id="language_bar"><a href="http://www.diabolic-servers.com/site/lang/croatian"><img src="http://www.diabolic-servers.com/img/lang/cro.png" style="margin:-3px 0 0 0;" /></a><a href="http://www.diabolic-servers.com/site/lang/english"><img src="http://www.diabolic-servers.com/img/lang/uk.png" style="margin:-6px 0 0 0;"/></a><a href="http://www.diabolic-servers.com/site/lang/spanish"><img src="http://www.diabolic-servers.com/img/lang/spanish.png" style="margin:-6px 0 0 0;"/></a><a href="http://www.iskon.hr" target="_blank"><img src="http://www.diabolic-servers.com/img/lang/iskon.png" style="margin:-2px 0 0 0;"/></a></div>',
   style: { 
   name : 'lang',
   padding: 0,
   color: '#656565',
   textAlign: 'center',
   width: 40,
   height: 306
   } ,
   position: {
			  corner: {
				target: 'leftBottom',
				tooltip: 'bottomLeft'
			  },
			  adjust : {
				y: 279,  
				x: -34
			  }
   },
   show : {	ready : true  },
   hide: false
});

jQuery("#container").qtip({
   content: '<a href="http://www.facebook.com/pages/Diabolic-Servers/167014639993258" target="_blank"><img src="https://my.diabolic-servers.com/img/social/facebook.png" onmouseover="this.src=\'http://www.diabolic-servers.com/img/social/facebook_active.png\';" onmouseout="this.src=\'http://www.diabolic-servers.com/img/social/facebook.png\';" style="margin:2px 0 1px 0;" /></a><a href="http://twitter.com/#!/diabolicservers" target="_blank"><img src="http://www.diabolic-servers.com/img/social/twitter.png" onmouseover="this.src=\'http://www.diabolic-servers.com/img/social/twitter_active.png\';" onmouseout="this.src=\'http://www.diabolic-servers.com/img/social/twitter.png\';" style="margin:2px 0 1px 0;" /></a><a href="http://www.youtube.com/user/diabolicservers" target="_blank"><img src="http://www.diabolic-servers.com/img/social/youtube.png" onmouseover="this.src=\'http://www.diabolic-servers.com/img/social/youtube_active.png\';" onmouseout="this.src=\'http://www.diabolic-servers.com/img/social/youtube.png\';" style="margin:2px 0 1px 0;" /></a><a href="http://www.diabolic-servers.com//board/external.php?type=RSS2" target="_blank"><img src="http://www.diabolic-servers.com/img/social/rss.png" onmouseover="this.src=\'http://www.diabolic-servers.com/img/social/rss_active.png\';" onmouseout="this.src=\'http://www.diabolic-servers.com/img/social/rss.png\';" style="margin:2px 0 1px 0;" /></a>',
   style: { 
   name : 'lang',
   padding: 0,
   color: '#656565',
   textAlign: 'center',
   width: 40,
   height: 140
   } ,
   position: {
			  corner: {
				target: 'rightTop',
				tooltip: 'bottomLeft'
			  },
			  adjust : {
				y: 240,  
				x: -6
			  }
   },
   show : {	ready : true  },
   hide: false
});

jQuery("#container2").qtip({
   content: '<div id="language_bar"><a href="https://my.diabolic-servers.com/site/lang/croatian"><img src="https://my.diabolic-servers.com/img/lang/cro.png" style="margin:-3px 0 0 0;" /></a><a href="https://my.diabolic-servers.com/site/lang/english"><img src="https://my.diabolic-servers.com/img/lang/uk.png" style="margin:-6px 0 0 0;"/></a><a href="https://my.diabolic-servers.com/site/lang/spanish"><img src="https://my.diabolic-servers.com/img/lang/spanish.png" style="margin:-6px 0 0 0;"/></a></div>',
   style: { 
   name : 'lang',
   padding: 0,
   color: '#656565',
   textAlign: 'center',
   width: 40,
   height: 90
   } ,
   position: {
			  corner: {
				target: 'rightBottom',
				tooltip: 'bottomLeft'
			  },
			  adjust : {
				y: 90,  
				x: 0
			  }
   },
   show : {	ready : true  },
   hide: false
});
jQuery("#container2").qtip({
   content: '<a href="http://www.facebook.com/pages/Diabolic-Servers/167014639993258" target="_blank"><img src="https://my.diabolic-servers.com/img/social/facebook.png" onmouseover="this.src=\'https://my.diabolic-servers.com/img/social/facebook_active.png\';" onmouseout="this.src=\'https://my.diabolic-servers.com/img/social/facebook.png\';" style="margin:2px 0 1px 0;" /></a><a href="http://twitter.com/#!/diabolicservers" target="_blank"><img src="https://my.diabolic-servers.com/img/social/twitter.png" onmouseover="this.src=\'https://my.diabolic-servers.com/img/social/twitter_active.png\';" onmouseout="this.src=\'https://my.diabolic-servers.com/img/social/twitter.png\';" style="margin:2px 0 1px 0;" /></a><a href="http://www.youtube.com/user/diabolicservers" target="_blank"><img src="https://my.diabolic-servers.com/img/social/youtube.png" onmouseover="this.src=\'https://my.diabolic-servers.com/img/social/youtube_active.png\';" onmouseout="this.src=\'https://my.diabolic-servers.com/img/social/youtube.png\';" style="margin:2px 0 1px 0;" /></a><a href="https://my.diabolic-servers.com//board/external.php?type=RSS2" target="_blank"><img src="https://my.diabolic-servers.com/img/social/rss.png" onmouseover="this.src=\'https://my.diabolic-servers.com/img/social/rss_active.png\';" onmouseout="this.src=\'https://my.diabolic-servers.com/img/social/rss.png\';" style="margin:2px 0 1px 0;" /></a>',
   style: { 
   name : 'lang',
   padding: 0,
   color: '#656565',
   textAlign: 'center',
   width: 40,
   height: 140
   } ,
   position: {
			  corner: {
				target: 'rightBottom',
				tooltip: 'bottomLeft'
			  },
			  adjust : {
				y: 244,  
				x: 0
			  }
   },
   show : {	ready : true  },
   hide: false
});
//Qtip

jQuery("#livechat").qtip({
   content: '<strong>No Sponsorship questions here</strong>',
   style: { 
   name : 'cream',
   color: '#656565',
   textAlign: 'center',
   width: 130,
      tip: { // Now an object instead of a string
         corner: 'leftMiddle', // We declare our corner within the object using the corner sub-option
         color: '#f9e98e',
         size: {
            x: 10, // Be careful that the x and y values refer to coordinates on screen, not height or width.
            y : 6 // Depending on which corner your tooltip is at, x and y could mean either height or width!
        	 }
	  	 }
   } ,
   position: {
			  corner: {
				target: 'rightMiddle',
				tooltip: 'bottomLeft'
			  }
   }
});

jQuery("#livechat_my").qtip({
   content: '<strong>No Sponsorship questions here</strong>',
   style: { 
   name : 'cream',
   color: '#656565',
   textAlign: 'center',
   width: 130,
      tip: { // Now an object instead of a string
         corner: 'rightMiddle', // We declare our corner within the object using the corner sub-option
         color: '#f9e98e',
         size: {
            x: 10, // Be careful that the x and y values refer to coordinates on screen, not height or width.
            y : 6 // Depending on which corner your tooltip is at, x and y could mean either height or width!
        	 }
	  	 }
   } ,
   position: {
			  corner: {
				target: 'leftMiddle',
				tooltip: 'bottomRight'
			  }
   }
});

jQuery("#m_lostpwd").qtip({
			content: 'Click here to retrieve your lost password',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});

jQuery("#m_register").qtip({
			content: 'Registration is simple and easy, click to create your DS account',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});
	
	jQuery("#m_register2").qtip({
			content: 'Registration is simple and easy, click to create your DS account',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});

jQuery("#m_summary").qtip({
			content: 'Your account summary',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});
	
jQuery("#m_services").qtip({
			content: 'Your DS services',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});
	
jQuery("#m_orders").qtip({
			content: 'Your placed orders',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});
	
jQuery("#m_profile").qtip({
			content: 'Here you can edit your Profile or change your password',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});
	
jQuery("#m_settings").qtip({
			content: 'Your DS Account settings',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});	
	
jQuery("#m_logout").qtip({
			content: 'Click to sign out',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});
	
   jQuery("#m_gameservers").qtip({
			content: 'Click here to order a game server',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});
	
   jQuery("#m_voiceservers").qtip({
			content: 'Click here to order a voice server',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});
	
   jQuery("#m_rootservers").qtip({
			content: 'Click here to order a dedicated server',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});
	
   jQuery("#m_webhosting").qtip({
			content: 'Click here to order webhosting package',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});
   jQuery("#m_domain").qtip({
			content: 'Click here to order domain',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});
	
   jQuery("#m_applications").qtip({
			content: 'Click here to order rcon application',
			position: {
				 corner: {
					 target: 'rightTop',
					 tooltip: 'bottomLeft'
				 }
  			},			
			style: 'diabolic' // The name of the newly created custom style above
	});
});
