replace tep_session_id() and tep_session_name() calls to native equivalents
replace tep_session_save_path() calls to native equivalent
remove tep_session_close() function, remove call in application_bottom as session_write_close() is being registered as a shutdown function when the session starts
Merge pull request #155 from haraldpdl/superglobals

superglobals - sessions
replace tep_session_is_registered() with isset()
Merge pull request #156 from haraldpdl/superglobals

replace tep_session_is_registered() with isset()
replace tep_session_unregister() with unset()
Merge pull request #157 from haraldpdl/superglobals

replace tep_session_unregister() with unset()
replace global $sessiontoken scope with $_SESSION
replace global $cart scope with $_SESSION
Add some code optimization

Added some code optimization to general function: !empty instead of sizeof $array > 0, precount variable outside for loops and  foreach($aHash as $key => $val);  instead of while(list($key,$val) = each($aHash));
remove $_SESSION from global
Merge pull request #158 from haraldpdl/superglobals

Superglobals - session variables
Revert for loop precount as it executeed only one time.

Revert attributes loop precount as it is executed only one time.
revert microoptimization

Revert for loop precount as it is executed only one time
Merge pull request #8 from acidvertigo/patch-7

Add some code optimization
Using cast insted of function to calculate image size

Using casting int instead of intval function is faster in calculating image size
Merge pull request #9 from acidvertigo/patch-8

Using cast insted of function to calculate image size
replace global $languages_id scope with $_SESSION
HTML 5 type attirbute is optional...

for script and css tags http://www.w3schools.com/tags/tag_script.asp