Warning: session_start() [function.session-start]: open(/tmp/sess_d644510c8391e1bb75c819de6bf70788, O_RDWR) failed: Read-only file system (30) in /home/trimedia/public_html/scripts.js.php on line 12
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/trimedia/public_html/scripts.js.php:12) in /home/trimedia/public_html/scripts.js.php on line 12
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/trimedia/public_html/scripts.js.php:12) in /home/trimedia/public_html/scripts.js.php on line 12
// DYNAMIC-FUNCTIONS
/**
* bookmark
*
* @param url The url to bookmark
* @param description Associate this description with the URL
*/
function addBookmark(url, description)
{
if(url != null)
{
if(navigator.appName=='Microsoft Internet Explorer')
{
window.external.AddFavorite(url, description);
}
else if (navigator.appName=='Netscape')
{
alert("Please press CTRL+D to bookmark this page");
}
}
}
/**
* setHomePage
*
* @param url The url to use as the home page
*/
function setHomePage(ref, url)
{
if(url != null)
{
if(navigator.appName=='Microsoft Internet Explorer')
{
ref.style.behavior='url(#default#homepage)';
ref.setHomePage(window.location);
}
else if (navigator.appName=='Netscape')
{
alert("Click 'Edit->Preferences' and then choose the 'Navigator' tag and click 'Use Current Page'");
}
}
}
/**
* setVisible
*
* @param id The id of the element to make visible
*/
function setVisibility(id, visible)
{
if(id != null)
{
var obj = document.getElementById(id);
if(obj != null)
{
if(visible == "visible")
{
obj.style.visibility = "visible";
obj.style.display = "block";
}
else
{
obj.style.visibility = "hidden";
obj.style.display = "none";
}
}
}
}
/**
* setVisible
*
* @param id The id of the element to make visible
*/
function clearTextField(id)
{
if(id != null)
{
var obj = document.getElementById(id);
if(obj != null)
{
obj.value = "";
}
}
}
Warning: Unknown(): open(/tmp/sess_d644510c8391e1bb75c819de6bf70788, O_RDWR) failed: Read-only file system (30) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0