/*
// +----------------------------------------------------------------------+
// |DesignAE Annotated Javascrips					  |
// +----------------------------------------------------------------------+
// | Copyright (c) 2007 DesignAE    				          |
// | http://www.designae.com        			                  |
// |                                                                      |
// | Version: 1.0 (For Joomla 1.0.12 eCommerce edition)                   |
// | Last Modified: 13 OCT 2007                                           |
// | Author: Daniel C. K. Tan					          |
// | Author URI: http://www.danielck.net                                  |
// +----------------------------------------------------------------------+

	FILE: flowersconcept.js
	TYPE: Javascripts Include File
	
	DESCRIPTION:
	Build and design for Flowers Concept.
	This is the javascript library for Flowers Concept
	
	WEBSITE: http://www.flowersconcept.com.sg

*/


/**************************************************************************** 
   +BOF :: Disable Right-Click */ 

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")

/*	+EOF :: Disable Right-Click  
**************************************************************************** */



/**************************************************************************** 
   +BOF :: Disable Text Select for IE & NS */ 

//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]

omitformtags=omitformtags.join("|")

function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}

function reEnable(){
return true
}

if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}

/*	+EOF :: Disable Text Select for IE & NS 
**************************************************************************** */

//Window Status Message
window.defaultStatus = "Portfolio of DanielCK"
