//Copyright 2007, Howling Dynamo, Inc. or its suppliers. All Rights Reserved. http://www.hdyn.com/wr/common/contact.php?addr=pr
var g_reporter=null;
function doLoad(){
g_reporter=document.getElementById("ctrlsReporter");
document.getElementById("ctrlsImg").onmousemove=doCtrlDesc;
document.getElementById("ctrlsImg").onmouseout=clearDesc;
g_reporter.onmouseover=setDesc4;
g_reporter.onmouseout=clearDesc;
}
var g_ctrlDescs=["takes you to the flat grey wall home, after warning you that unsaved changes will be lost and giving you a chance to cancel.","opens a secure popup window to let you sign in or out.","gets the current state of the wall, which is the same as reverting any changes.","saves all changes.","results of actions will appear here for 4 seconds; the background color will turn the peach color you see here when a new message comes in.","sets the background grey to the level you click.","sets the foreground grey to the level you click.","the title of the page as it will appear on the wall.","if you want people to be able to contact you, enter an email address here. If not, leave it blank. Since it will be public, this address will not be as well protected as your artist account email, but spambots should not be able to find it.","the type of thumbnail arrangement. options are salon style, where all the thumbnails appear in a 7x5 grid; and slide show, where the thumbnails act in the same way as the large images, with slide show controls.","sets the background and foreground greys back to the standard defaults.","if you want to sell things, this is where you specify the PayPal email address of the account that will receive the payments.","this will pop up a box where you can enter some words you want to share with the world (maximum length 10,000 characters.)","lets you change the email address associated with your artist account.","opens the visitor stats in a new window.","opens this help in a new window."];
var g_iOb=-1;
function doCtrlDesc(e){
if(!e){
e=window.event;
}
var x=obX(e);
var y=obY(e);
var _4=Math.floor(y/20);
var _5=Math.floor(x/262);
var _6;
switch(_4){
case 4:
if(_5==0){
_6=5;
}else{
_6=-1;
}
break;
case 5:
if(_5!=0){
_5=1+Math.floor((x-262)/157);
}
_6=6+_5;
break;
case 6:
_5=arrayToCol(x,[105,147,95,197,95,95]);
_6=_5<6?10+_5:-1;
break;
default:
if(_4>6){
_6=-1;
}else{
if(_5<1){
_6=_4;
}else{
_6=4;
}
}
}
setDesc(_6);
}
function arrayToCol(x,_8){
for(var i=0;i<_8.length;i++){
if(x<=_8[i]){
return i;
}
x-=_8[i];
}
return _8.length;
}
function setDesc(_a){
if(_a==g_iOb){
return;
}
g_iOb=_a;
g_reporter.innerHTML=_a<0||_a>=g_ctrlDescs.length?"":g_ctrlDescs[_a];
g_reporter.style.backgroundColor=_a<0?"transparent":"#fed";
}
function clearDesc(){
setDesc(-1);
}
function setDesc4(){
setDesc(4);
}
function obX(e){
if(typeof e.layerX!="undefined"){
return e.layerX;
}
if(typeof e.offsetX!="undefined"){
return e.offsetX;
}
return null;
}
function obY(e){
if(typeof e.layerY!="undefined"){
return e.layerY;
}
if(typeof e.offsetY!="undefined"){
return e.offsetY;
}
return null;
}
