/*************************

  Coppermine Photo Gallery

  ************************

  Copyright (c) 2003-2006 Coppermine Dev Team

  v1.1 originally written by Gregory DEMAR



  This program is free software; you can redistribute it and/or modify

  it under the terms of the GNU General Public License as published by

  the Free Software Foundation; either version 2 of the License, or

  (at your option) any later version.

  ********************************************

  Coppermine version: 1.4.10

  $Source$

  $Revision: 3275 $

  $Author: gaugau $

  $Date: 2006-09-03 12:10:47 +0200 (So, 03 Sep 2006) $

**********************************************/



function MM_openBrWindow(theURL,winName,features) { //v2.0

  window.open(theURL,winName,features);

}



function writeCookie(name, data, noDays){

  var cookieStr = name + "="+ data

  if (writeCookie.arguments.length > 2){

    cookieStr += "; expires=" + getCookieExpireDate(noDays)

    }

  document.cookie = cookieStr

}



function readCookie(cookieName){

   var searchName = cookieName + "="

   var cookies = document.cookie

   var start = cookies.indexOf(cookieName)

   if (start == -1){ // cookie not found

     return ""

     }

   start += searchName.length //start of the cookie data

   var end = cookies.indexOf(";", start)

   if (end == -1){

     end = cookies.length

     }

   return cookies.substring(start, end)

}



function blocking(nr, cookie, vis_state)

{
}
