Issue in converting a HTML Link to Drupal Link using l() function I have created a HTML anchor link. Now i need to convert this link to Drupal's link using l() function. But i am not getting what i want. I am new to this Drupal environment. 

HTML Link :

&lt;a href="#" onclick="loadQtiPlayer('.$targetPath.','.$targetWindowHeight.','.$targetWindowWidth.')" id="qtiStatQuiz1"&gt;'.START_QTIQUIZ.'&lt;/a&gt;


What i have tried is,

l('Start QTI Quiz', '#', array('','onclick' =&gt; "loadQtiPlayer('.$targetPath.','.$targetWindowHeight.','.$targetWindowWidth.')"));


This is not working. I am using Drupal 6.14.

Can anyone point out where is the issue?
$current_path = check_url(drupal_get_path_alias($_GET['q']));
$onclick = 'loadQtiPlayer(' . $targetPath . ',' . $targetWindowHeight . ',' . $targetWindowWidth . ')';
print l('Start QTI Quiz', $current_path, array('fragment' =&gt; ' ', 'attributes' =&gt; array('onclick' =&gt; $onclick)));