JRequest::getVar
<?php $itemid = JRequest::getVar('Itemid');
if($itemid == '50')
{
echo '<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>';
}
?>
if($itemid == '50')
{
echo '<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>';
}
?>