//**** DISPLAY COPYRIGHT DIV

function toggleDiv(id,flagit) {
	if (flagit=="1"){
	if (document.layers) document.layers[''+id+''].visibility = "show"
	else if (document.all) document.all[''+id+''].style.visibility = "visible"
	else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "visible"
	}
	else
	if (flagit=="0"){
	if (document.layers) document.layers[''+id+''].visibility = "hide"
	else if (document.all) document.all[''+id+''].style.visibility = "hidden"
	else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "hidden"
	}
}

//**** Rollover text Display (qTip)


var qTipTag = "a"; //Which tag do you want to qTip-ize? Keep it lowercase!//
var qTipX = -100; //This is qTip's X offset//
var qTipY = 25; //This is qTip's Y offset//



//There's No need to edit anything below this line//
tooltip = {
  name : "qTip",
  offsetX : qTipX,
  offsetY : qTipY,
  tip : null
}

tooltip.init = function () {
	var tipNameSpaceURI = "http://www.w3.org/1999/xhtml";
	if(!tipContainerID){ var tipContainerID = "qTip";}
	var tipContainer = document.getElementById(tipContainerID);

	if(!tipContainer) {
	  tipContainer = document.createElementNS ? document.createElementNS(tipNameSpaceURI, "div") : document.createElement("div");
		tipContainer.setAttribute("id", tipContainerID);
	  document.getElementsByTagName("body").item(0).appendChild(tipContainer);
	}

	if (!document.getElementById) return;
	this.tip = document.getElementById (this.name);
	if (this.tip) document.onmousemove = function (evt) {tooltip.move (evt)};

	var a, sTitle;
	var anchors = document.getElementsByTagName (qTipTag);

	for (var i = 0; i < anchors.length; i ++) {
		a = anchors[i];
		sTitle = a.getAttribute("title");
		if(sTitle) {
			a.setAttribute("tiptitle", sTitle);
			a.removeAttribute("title");
			a.onmouseover = function() {tooltip.show(this.getAttribute('tiptitle'))};
			a.onmouseout = function() {tooltip.hide()};
		}
	}
}

tooltip.move = function (evt) {
	var x=0, y=0;
	if (document.all) {//IE
		x = (document.documentElement && document.documentElement.scrollLeft) ? document.documentElement.scrollLeft : document.body.scrollLeft;
		y = (document.documentElement && document.documentElement.scrollTop) ? document.documentElement.scrollTop : document.body.scrollTop;
		x += window.event.clientX;
		y += window.event.clientY;
		
	} else {//Good Browsers
		x = evt.pageX;
		y = evt.pageY;
	}
	this.tip.style.left = (x + this.offsetX) + "px";
	this.tip.style.top = (y + this.offsetY) + "px";
}

tooltip.show = function (text) {
	if (!this.tip) return;
	this.tip.innerHTML = text;
	this.tip.style.display = "block";
}

tooltip.hide = function () {
	if (!this.tip) return;
	this.tip.innerHTML = "";
	this.tip.style.display = "none";
}

window.onload = function () {
	tooltip.init ();
}
// Display Massage on View Page
function disappear()
{
    MesssageDiv.style.visibility="hidden"; 
    }
function reappear()
{
    MesssageDiv.style.visibility="visible"; 
    }

/***********************************************
* AnyLink Vertical Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/


//Contents for Screensavers menu
var screensavers=new Array()
screensavers[0]='<a href="animated-mobile-screensavers.php">&raquo;&nbsp;All</a>'
screensavers[1]='<a href="christmas-mobile-wallpapers.php">&raquo;&nbsp;Christmas</a>'
screensavers[2]='<a href="adult-mobile-screensavers.php">&raquo;&nbsp;Mature</a>'
screensavers[3]='<a href="hot-mobile-screensavers.php">&raquo;&nbsp;Glamour</a>'
screensavers[4]='<a href="funny-mobile-screensavers.php">&raquo;&nbsp;Funny</a>'
screensavers[5]='<a href="cute-mobile-screensavers.php">&raquo;&nbsp;Cute</a>'
screensavers[6]='<a href="cool-mobile-screensavers.php">&raquo;&nbsp;Cool</a>'
screensavers[7]='<a href="occasions-mobile-screensavers.php">&raquo;&nbsp;Occasions</a>'
screensavers[8]='<a href="free-mobile-screensavers.php">&raquo;&nbsp;FREE</a>'	
	
//Contents for Wallpapers menu
var wallpapers=new Array()
wallpapers[0]='<a href="mobile-wallpapers-all.php">&raquo;&nbsp;All</a>'
wallpapers[1]='<a href="christmas-mobile-wallpapers.php">&raquo;&nbsp;Christmas</a>'
wallpapers[2]='<a href="adult-mobile-wallpapers.php">&raquo;&nbsp;Mature</a>'
wallpapers[3]='<a href="glamour-mobile-wallpapers.php">&raquo;&nbsp;Glamour</a>'
wallpapers[4]='<a href="funny-mobile-wallpapers.php">&raquo;&nbsp;Funny</a>'
wallpapers[5]='<a href="cute-mobile-wallpapers.php">&raquo;&nbsp;Cute</a>'
wallpapers[6]='<a href="mobile-wallpapers-cool.php">&raquo;&nbsp;Cool</a>'
wallpapers[7]='<a href="mobile-wallpapers-valentines.php">&raquo;&nbsp;Valentines</a>'
wallpapers[8]='<a href="free-mobile-wallpapers.php">&raquo;&nbsp;FREE</a>'
//Contents for Videos menu
var videos=new Array()
videos[0]='<a href="mobile-videos-all.php">&raquo;&nbsp;All</a>'
videos[1]='<a href="adult-mobile-videos.php">&raquo;&nbsp;Mature</a>'
videos[2]='<a href="funny-mobile-videos.php">&raquo;&nbsp;Funny</a>'
videos[3]='<a href="mobile-videos-bday.php">&raquo;&nbsp;Birthday</a>'
videos[4]='<a href="mobile-videos-christmas.php">&raquo;&nbsp;Christmas</a>'
videos[5]='<a href="mobile-videos-easter.php">&raquo;&nbsp;Easter</a>'
videos[6]='<a href="mobile-videos-love.php">&raquo;&nbsp;Love</a>'
videos[7]='<a href="mobile-videos-thanksgiving.php">&raquo;&nbsp;Thanksgiving</a>'
videos[8]='<a href="mobile-videos-valentines.php">&raquo;&nbsp;Valentine\'s Day</a>'
videos[9]='<a href="mobile-videos-newyear.php">&raquo;&nbsp;New Years</a>'
videos[10]='<a href="mobile-videos-mumdad.php">&raquo;&nbsp;Mom and Dad</a>'
videos[11]='<a href="free-mobile-videos.php">&raquo;&nbsp;FREE</a>'

//Contents for Games menu

var games=new Array()
games[0]='<a href="mobile-games.php">&raquo;&nbsp;General</a>'
games[1]='<a href="adult-mobile-games.php">&raquo;&nbsp;Adult/Mature</a>'
/*games[2]='<a href="mobile-apps.php">&raquo;&nbsp;Applications</a>'
games[3]='<a href="mobile-games.php">&raquo;&nbsp;Symbian</a>'
games[4]='<a href="mobile-games.php">&raquo;&nbsp;Palm</a>'
games[5]='<a href="mobile-games.php">&raquo;&nbsp;Android</a>'
games[6]='<a href="mobile-games.php">&raquo;&nbsp;Windows Mobile</a>'
games[7]='<a href="mobile-games.php">&raquo;&nbsp;Smart Phone</a>'
*/
//Contents for Apps menu
var apps=new Array()
apps[0]='<a href="mobile-apps.php">&raquo;&nbsp;All</a>'
apps[1]='<a href="mobile-apps.php">&raquo;&nbsp;Blackberry</a>'
apps[2]='<a href="mobile-apps.php">&raquo;&nbsp;Symbian</a>'
apps[3]='<a href="mobile-apps.php">&raquo;&nbsp;Palm</a>'
apps[4]='<a href="mobile-apps.php">&raquo;&nbsp;Android</a>'
apps[5]='<a href="mobile-apps.php">&raquo;&nbsp;Windows Mobile</a>'
apps[6]='<a href="mobile-apps.php">&raquo;&nbsp;Smart Phone</a>'

//Contents for Live DeskMates menu
var live=new Array()
live[0]='<a href="http://www.oska.com/index_live.php" target="_blank">&raquo;&nbsp;All</a>'
live[1]='<a href="http://www.oska.com/about_Arianna.php" target="_blank">&raquo;&nbsp;Arianna</a>'
live[2]='<a href="http://www.oska.com/about_Jewell.php" target="_blank">&raquo;&nbsp;Jewell</a>'
live[3]='<a href="http://www.oska.com/about_Tavia.php" target="_blank">&raquo;&nbsp;Tavia</a>'
live[4]='<a href="http://www.oska.com/about_DM05.php" target="_blank">&raquo;&nbsp;DM05</a>'

//Contents for 3D DeskMates menu
var threed=new Array()
threed[0]='<a href="http://www.oska.com/index_3d.php" target="_blank">&raquo;&nbsp;All</a>'
threed[1]='<a href="http://www.oska.com/about_Tahni3D.php" target="_blank">&raquo;&nbsp;Tahni 3D</a>'
threed[2]='<a href="http://www.oska.com/about_Kahli3D.php" target="_blank">&raquo;&nbsp;Kahli 3D</a>'
threed[3]='<a href="http://www.oska.com/about_Johlee.php" target="_blank">&raquo;&nbsp;Johlee</a>'
threed[4]='<a href="http://www.oska.com/about_SnS.php" target="_blank">&raquo;&nbsp;Suger-n-Spice</a>'
threed[5]='<a href="http://www.oska.com/about_Sirens.php" target="_blank">&raquo;&nbsp;Screen Sirens</a>'
threed[6]='<a href="http://www.oska.com/about_Fantasy.php" target="_blank">&raquo;&nbsp;Fantasy Girls</a>'

//Contents for 2D DeskMates menu
var twod=new Array()
twod[0]='<a href="http://www.oska.com/index_2d.php" target="_blank">&raquo;&nbsp;All</a>'
twod[1]='<a href="http://www.oska.com/about_Tahni.php" target="_blank">&raquo;&nbsp;Tahni</a>'
twod[2]='<a href="http://www.oska.com/about_Kahli.php" target="_blank">&raquo;&nbsp;Kahli</a>'
twod[3]='<a href="http://www.oska.com/about_Maeka.php" target="_blank">&raquo;&nbsp;Maeka</a>'
twod[4]='<a href="http://www.oska.com/about_Oska.php" target="_blank">&raquo;&nbsp;Oska</a>'
twod[5]='<a href="http://www.oska.com/about_TeeCee.php" target="_blank">&raquo;&nbsp;TeeCee</a>'
twod[6]='<a href="http://www.oska.com/about_FatB.php" target="_blank">&raquo;&nbsp;Fat B</a>'
twod[7]='<a href="http://www.oska.com/about_Dancers.php" target="_blank">&raquo;&nbsp;Dancing Girls</a>'

		
var disappeardelay=200  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=2 //horizontal offset of menu from default location. (0-5 is a good value)

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width: 160px" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move menu up?
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
edgeoffset=dropmenuobj.y
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
