function StatusMsg(msgStr) { 
  status=msgStr;
  document.returnValue = true;
}

function open_Portrate(url){
Portrate=window.open(url,"Photograph","width=390,height=610,toolbar=no,status=no,resize=no,menubar=no");
}

function open_Landscape(url){
Landscape=window.open(url,"Photograph","width=570,height=430,toolbar=no,status=no,resize=no,menubar=no");
}

var encoded_address = [110,101,105,108,64,99,108,105,109,98,105,110,103,109,97,115,116,101,114,99,108,97,115,115,46,99,111,109];

var unencoded_address = '';

for( i = 0; i < encoded_address.length; i++ ) {
           unencoded_address +=String.fromCharCode(encoded_address[i]);
}


function swap(id)
{
var theDivs = document.getElementsByTagName('div');
for(var i = 0; i < theDivs.length; i++)
{
if(theDivs[i].id.search('swap') == 0)
{
theDivs[i].style.display = 'none';
}
}
document.getElementById('swap'+id).style.display = 'block';
}
window.onload = function()
{
var theDivs2 = document.getElementsByTagName('div');
for(var j = 0; j < theDivs2.length; j++)
{
if(theDivs2[j].id.search('swap') != -1)
{
theDivs2[j].style.display = 'none';
}
}
}