function switchImage(smallImageIdx) {
    var tmp=document.images[smallImageIdx].src;
    document.images[smallImageIdx].src=parent.document.images[0].src.replace('_F.', '_S.');
    parent.document.images[0].src= tmp.replace('_S.', '_F.');
    return;
}
function homeOver(ImageIdx, dir)	{
	document.images[ImageIdx].src=dir+'images/nav/homeO.gif'; status='Twins Models - home page';
}
function homeOut(ImageIdx, dir)	{
	document.images[ImageIdx].src=dir+'images/nav/home.gif'; status='';
}
function modelsOver(ImageIdx, dir)	{
	document.images[ImageIdx].src=dir+'images/nav/modelsO.gif'; status='Twins Models - Men, Women, Children, Characters';
}
function modelsOut(ImageIdx, dir)	{
	document.images[ImageIdx].src=dir+'images/nav/models.gif'; status='';
}
function contactusOver(ImageIdx, dir)	{
	document.images[ImageIdx].src=dir+'images/nav/contactusO.gif'; status='Our address, phone numbers, and e-mail'
}
function contactusOut(ImageIdx, dir)	{
	document.images[ImageIdx].src=dir+'images/nav/contactus.gif'; status='';
}
function beamodelOver(ImageIdx, dir)	{
	document.images[ImageIdx].src=dir+'images/nav/beamodelO.gif'; status='Tips on becoming a model';
}
function beamodelOut(ImageIdx, dir)	{
	document.images[ImageIdx].src=dir+'images/nav/beamodel.gif'; status='';
}
// <div><a href='javascript:displayModel("idar","apap",4);' onFocus='this.blur();'><img border='0' class='filmImg' src='./apap/images/apap_film.jpg' alt='Anna Papra'></a></div>
/*
function displayModel(nameOld, nameNew, num_photos)	{
	var pattern ;
	var tmp ;
	pattern = new RegExp(nameOld, "g");
	alert(parent.frames[1].document.frames[1].document.all.i_ht.innerText);
	if (typeof(document.all)!="undefined")	{
		tmp=new String(parent.frames[1].document.frames[1].document.images[0].src);
		parent.frames[1].document.frames[1].document.images[0].src=tmp.replace(pattern, nameNew);
		for (ii=0; ii < num_photos - 1; ii++)	{
			tmp=new String(parent.frames[1].document.frames[2].document.images[ii].src);
			parent.frames[1].document.frames[2].document.images[ii].src=tmp.replace(pattern, nameNew);
		}
	}
	else if (typeof(document.layers)!="undefined")	{
		tmp=new String(parent.frames[1].frames[1].document.images[0].src);
		parent.frames[1].frames[1].document.images[0].src=tmp.replace(pattern, nameNew);
		for (ii=0; ii < num_photos - 1; ii++)	{
			tmp=new String(parent.frames[1].frames[2].document.images[ii].src);
			parent.frames[1].frames[2].document.images[ii].src=tmp.replace(pattern, nameNew);
		}
	}
}
*/
