//sendtofriend

function hidediv() {
	if (document.getElementById) { // DOM3 = IE5, NS6
	document.getElementById('sendfriendpopup').style.visibility = 'hidden';
}

else {
	if (document.layers) { // Netscape 4
	document.sendfriendpopup.visibility = 'hidden';
}

else { // IE 4
	document.all.sendfriendpopup.style.visibility = 'hidden';
}
}
}

function showdiv() {
	if (document.getElementById) { // DOM3 = IE5, NS6
	document.getElementById('sendfriendpopup').style.visibility = 'visible';
}

else {
	if (document.layers) { // Netscape 4
	document.sendfriendpopup.visibility = 'visible';
}

else { // IE 4
	document.all.sendfriendpopup.style.visibility = 'visible';
}
}
}

//sendtofriend

function hidedivbottom() {
	if (document.getElementById) { // DOM3 = IE5, NS6
	document.getElementById('sendfriendpopup2').style.visibility = 'hidden';
	document.getElementById('sendfriendpopup2').style.display = 'none';
}

else {
	if (document.layers) { // Netscape 4
	document.sendfriendpopup2.visibility = 'hidden';
	document.sendfriendpopup2.display = 'none';
}

else { // IE 4
	document.all.sendfriendpopup2.style.visibility = 'hidden';
	document.all.sendfriendpopup2.style.display = 'none';
}
}
}

function showdivbottom() {
	if (document.getElementById) { // DOM3 = IE5, NS6
	document.getElementById('sendfriendpopup2').style.visibility = 'visible';
	document.getElementById('sendfriendpopup2').style.display = 'block';
}

else {
	if (document.layers) { // Netscape 4
	document.sendfriendpopup2.visibility = 'visible';
	document.sendfriendpopup2.display = 'block';
}

else { // IE 4
	document.all.sendfriendpopup2.style.visibility = 'visible';
	document.all.sendfriendpopup2.style.display = 'block';
}
}
}

// searchdiv

function hidesearchdiv() {
	if (document.getElementById) { // DOM3 = IE5, NS6
	document.getElementById('searchdiv').style.visibility = 'hidden';
}

else {
	if (document.layers) { // Netscape 4
	document.searchdiv.visibility = 'hidden';
}

else { // IE 4
	document.all.searchdiv.style.visibility = 'hidden';
}
}
}

function showsearchdiv() {
	if (document.getElementById) { // DOM3 = IE5, NS6
	document.getElementById('searchdiv').style.visibility = 'visible';
}

else {
	if (document.layers) { // Netscape 4
	document.searchdiv.visibility = 'visible';
}

else { // IE 4
	document.all.searchdiv.style.visibility = 'visible';
}
}
}



