﻿// JScript File
function changeColor(tag)
{
   tag.style.bold="inline";
  
   
}
function changeToPreviousColor(tag)
{
    tag.style.bold="none";
   
    
}

function changeImg(img)
{
  
   document.getElementById(img).src = "images/news_over.gif";
   
   
   
}
function changeToPreviousImg(img)
{
    
    document.getElementById(img).src = "images/news.gif";
    
}

function changeImgeEnglish(img)
{
  
   document.getElementById(img).src = "images/news_e_over.gif";
   
   
   
}
function changeToPreviousImgEnglish(img)
{
    
    document.getElementById(img).src = "images/news_e.gif";
    
}

function showGallery(imgPath,itemID,catID)
{
    var org = document.URL;
	var what = /&/g;
	var newStr = org.replace(what,'@@@');
	var source = 'bigGallery.asp?path='+ imgPath + '&id='+ itemID+'&cat='+ catID +'&urlPath=' + newStr;
	win = window.open(source, "galleryBig", "top=0, left=0, status=no, resizable, scrollbars=yes")
}

function showGalleryEnglish(imgPath,itemID,catID)
{
    var org = document.URL;
	var what = /&/g;
	var newStr = org.replace(what,'@@@');
	var source = 'bigGalleryEnglish.asp?path='+ imgPath + '&id='+ itemID+'&cat='+ catID +'&urlPath=' + newStr;
	win = window.open(source, "galleryBig", "top=0, left=0, status=no, resizable, scrollbars=yes")
}

function displayInsideCategoriesDiv(tag)
{
    document.all.sculptureInsideCategories.style.display="inline";
    tag.style.backgroundImage = 'url(images/up.gif)';
    tag.style.color="white";
}

function hideInsideCategoriesDiv(tag)
{
    document.all.sculptureInsideCategories.style.display="none";
    tag.style.backgroundImage = 'url(images/down.gif)';
    tag.style.color="#000000";
    
}

