public with sharing class ISO_DemandOperAndDemonsJumpController {
    
    public String lid { get; private set; }
    public IS_Opportunity_Demand__c isid;

    public ISO_DemandOperAndDemonsJumpController(IS_Opportunity_Demand__c iso){
    	this.isid = iso;
    }
    public ISO_DemandOperAndDemonsJumpController(ApexPages.StandardController controller){
    	this.isid = (IS_Opportunity_Demand__c)controller.getRecord();
	}
	public void init() {
		// String eid = ApexPages.currentPage().getParameters().get('id');
		
		IS_Opportunity_Demand__c isod = [select Id, Operating_Room_Count__c,Opportunity_ID__c,Demonstration_Number__c from IS_Opportunity_Demand__c where Id = :isid.Id];
		if(isod.Demonstration_Number__c == null && isod.Operating_Room_Count__c == null){
			lid = 'ISO_DemandOperAndDemons?Id='+isod.Id+'&OppoerID='+isod.Opportunity_ID__c;
		}else{
			lid = 'ISO_DemandOperAndDemonsNew?id='+isod.Id+'&OppoerID='+isod.Opportunity_ID__c;
		}
		Integer i = 0;
		
	}
}