
	function toggleDisplay(me){
		if (me.style.display=="none"){
			me.style.display="block";
			}
		else {
			me.style.display="none";
			}
		}
	function toggleArrow(me){
		if (me.src=="http://www.beautytrends.com/images/arrow_purple.jpg"){
			me.src="http://www.beautytrends.com/images/arrow_purple_dn.jpg";
			}
		else {
			me.src="http://www.beautytrends.com/images/arrow_purple.jpg"
			}
		}		
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

var message="Function Disabled.";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

// set the popup window width and height
// set the screen position where the popup should appear
// set the url of the page to show in the popup
// var urlPop = wsurl2;
// set the title of the page
// set this to true if the popup should close
// upon leaving the launching page; else, false
// ============================
// do not edit below this line
// ============================
function openFrameless(urlPop, windowW, windowH){
// var windowW=700 // wide
// var windowH=600 // high
var windowX = (screen.width/2)-(windowW/2);
var windowY = (screen.height/2)-(windowH/2);
var title =  "Beauty Trends"
var autoclose = true
s = "width="+windowW+",height="+windowH;
var beIE = document.all?true:false

  if (beIE){
    NFW = window.open("","popFrameless","resizable=yes,fullscre,"+s)     
    NFW.blur()
    window.focus()       
    NFW.resizeTo(windowW,windowH)
    NFW.moveTo(windowX,windowY)
    var frameString=""+
"<html>"+
"<head>"+
"<title>"+title+"</title>"+
"</head>"+
"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
"<frame marginwidth=0 marginheight=0 name='top' src='"+urlPop+"'>"+
"<frame marginwidth=0 marginheight=0 name='bottom' src='about:blank' scrolling='no'>"+
"</frameset>"+
"</html>"
    NFW.document.open();
    NFW.document.write(frameString)
    NFW.document.close()
  } else {
    NFW=window.open(urlPop,"popFrameless","resizable=yes,"+s)
    NFW.blur()
    window.focus() 
    NFW.resizeTo(windowW,windowH)
    NFW.moveTo(windowX,windowY)
  }   
  NFW.focus()   
  if (autoclose){
    window.onunload = function(){NFW.close()}
  }
}



// document.oncontextmenu=new Function("alert(message);return false")

