// Go to page by menu item ID
function goMenuItem(_menuID, _srcPPack) {
  document.location.href = '../../default.aspx?menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Set page as start-up
function setAsStartUp(_elm, _address) {
  if ((navigator.appVersion.indexOf('MSIE') > 0) && (parseInt(navigator.appVersion) >= 4)) {
	  _elm.style.behavior='url(#default#homepage)';
	  _elm.setHomePage(_address);
	}
}
// Add site to favorites
function addFavorites(_address) {
	if ((navigator.appVersion.indexOf('MSIE') > 0) && (parseInt(navigator.appVersion) >= 4)) {
	  window.external.AddFavorite(_address, document.title); }
}
// Open administrator page
function getAdminPage(_srcPPack) {
  _url = '../../Admin/admLogin/adLogin.aspx?srcPPack=' + _srcPPack;
  var _win = window.open('', 'NN_Administrator');
  _win.location.href = _url;
  _win.opener = window;
  if ( !_win.closed ) { _win.focus(); }
}
// Wish list on / off
function websUserOpen() {
	var wishList = document.getElementById('wishList');
	if (wishList != null) {
	  wishList.style.display = (wishList.style.display == 'block' ? 'none' : 'block');
	}
}
// Open webs page part
function websPartOpen(_partID, _srcPPack) {
  document.location.href = '../../Pages/pgsWebs/pgWebs.aspx' +
    '?partID=' + _partID + '&srcPPack=' + _srcPPack;
}
// Open webs page site
function websSiteOpen(_linkID, _srcPPack) {
  _url = '../../Pages/pgsWebs/pgWebsX.aspx?linkID=' + _linkID + '&srcPPack=' + _srcPPack;
  var _win = window.open('', 'NN_Webs_' + _linkID);
  _win.location.href = _url;
  _win.opener = window;
  if ( !_win.closed ) { _win.focus(); }
}
// Wish webs item site ON
function websSiteWishOn(_partID, _linkID, _srcPPack) {
  document.location.href = '../../Pages/pgsWebs/pgWishX.aspx' +
    '?partID=' + _partID + '&linkID=' + _linkID + '&srcPPack=' + _srcPPack;
}
// Wish webs item site OFF
function websSiteWishOff(_partID, _linkID, _srcPPack, _msg) {
  if (confirm(_msg)) {
    document.location.href = '../../Pages/pgsWebs/pgWishX.aspx' +
      '?partID=' + _partID + '&linkID=' + _linkID + '&srcPPack=' + _srcPPack;
  }
}
// Wish webs user item site OFF
function websSiteWishUserOff(_linkID, _srcPPack, _msg) {
  if (confirm(_msg)) {
    document.location.href = '../../Pages/pgsWebs/pgWishY.aspx' +
      '?linkID=' + _linkID + '&srcPPack=' + _srcPPack;
  }
}
// Go to ALL NEWS part page
function goAllNewsPage(_srcPPack) {
  var _menuID = 3;
  document.location.href = '../pgsNews/pgAllXNews.aspx?' + 
      '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Cursor break news article by item ID
function goCrsArtBreak(_artID, _srcPPack) {
  var _menuID = 31;
  document.location.href = '../pgsNews/pgIsrlNews.aspx?' + 
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Cursor news article by item ID
function goCrsArtNews(_artID, _srcPPack) {
  var _menuID = 31;
  document.location.href = '../pgsNews/pgIsrlNews.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Cursor press article by item ID
function goCrsArtPress(_artID, _srcPPack) {
  var _menuID = 41;
  document.location.href = '../pgsNews/pgIsrlPress.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Cursor business article by item ID
function goCrsArtBusiness(_artID, _srcPPack) {
  var _menuID = 42;
  document.location.href = '../pgsNews/pgIsrlBusiness.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Cursor analyze article by item ID
function goCrsArtAnalyze(_artID, _srcPPack) {
  var _menuID = 43;
  document.location.href = '../pgsNews/pgIsrlAnalyze.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Cursor culture article by item ID
function goCrsArtCulture(_artID, _srcPPack) {
  var _menuID = 44;
  document.location.href = '../pgsNews/pgIsrlCulture.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Cursor sport article by item ID
function goCrsArtSport(_artID, _srcPPack) {
  var _menuID = 45;
  document.location.href = '../pgsNews/pgIsrlSport.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Bank Israel currency data page
function goBkiCources(_srcPPack) {
  var _menuID = 34;
  document.location.href = '../pgsCurrency/pgCurrRate.aspx?' +
      'menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Mig News CIS article by item ID
function goMgnArtCIS(_artID, _srcPPack) {
  var _menuID = 32;
  document.location.href = '../pgsNews/pgMignCIS.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Mig News World article by item ID
function goMgnArtWorld(_artID, _srcPPack) {
  var _menuID = 33;
  document.location.href = '../pgsNews/pgMignWorld.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Mig Sport News article by item ID
function goMgsArtNews(_artID, _srcPPack) {
  var _menuID = 35;
  document.location.href = '../pgsNews/pgMigsNews.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to GisMeteo all forecasts page
function goGsmForeAll(_srcPPack) {
  var _menuID = 36;
  document.location.href = '../pgsWeather/pgGismForeAll.aspx?' +
      'menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to World press article by item ID
function goWrlArtPress(_artID, _srcPPack) {
  var _menuID = 4;
  document.location.href = '../pgsPress/pgWrldPress.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Zeev Fraiman press article by item ID
function goMndArtPress(_artID, _srcPPack) {
  var _menuID = 5;
  document.location.href = '../pgsPress/pgMindPress.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Vladimir Mak press article by item ID
function goVmkArtPress(_artID, _srcPPack) {
  var _menuID = 6;
  document.location.href = '../pgsPress/pgVmakPress.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Ryzyj Kot press article by item ID
function goRctArtPress(_artID, _srcPPack) {
  var _menuID = 10;
  document.location.href = '../pgsPress/pgRcatPress.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to OlegToon part by item ID
function osctPartList(_opdID, _srcPPack) {
  var _menuID = 51;
  document.location.href = '../pgsOlegToons/pgOsctView.aspx?' +
      'opdID=' + _opdID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to OlegToon view by item ID
function osctToonView(_opdID, _otdID, _srcPPack) {
  var _menuID = 51;
  document.location.href = '../pgsOlegToons/pgOsctView.aspx?' +
      'opdID=' + _opdID + '&otdID=' + _otdID + 
      '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Knesset NDI press article by item ID
function goNdiArtPress(_artID, _srcPPack) {
  var _menuID = 52;
  document.location.href = '../pgsPress/pgKndiPress.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Analyze publication by item ID
function goAnazViewPubl(_artID, _srcPPack) {
  var _menuID = 53;
  document.location.href = '../pgsAnalyze/pgAnazPubls.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Analyze author by item ID
function goAnazViewAuth(_artID, _srcPPack) {
  var _menuID = 61;
  document.location.href = '../pgsAnalyze/pgAnazAuths.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
// Go to Analyze theme by item ID
function goAnazViewThem(_artID, _srcPPack) {
  var _menuID = 63;
  document.location.href = '../pgsAnalyze/pgAnazThems.aspx?' +
      'artID=' + _artID + '&menuID=' + _menuID + '&srcPPack=' + _srcPPack;
}
