var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987323&x=119',
		'title': '',
		'imageId': '69987323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987324&x=119',
		'title': '',
		'imageId': '69987324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987325&x=119',
		'title': '',
		'imageId': '69987325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987327&x=119',
		'title': '',
		'imageId': '69987327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987328&x=119',
		'title': '',
		'imageId': '69987328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987331&x=119',
		'title': '',
		'imageId': '69987331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987332&x=119',
		'title': '',
		'imageId': '69987332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987333&x=119',
		'title': '',
		'imageId': '69987333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987336&x=119',
		'title': '',
		'imageId': '69987336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987339&x=119',
		'title': '',
		'imageId': '69987339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987346&x=119',
		'title': '',
		'imageId': '69987346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987353&x=119',
		'title': '',
		'imageId': '69987353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987359&x=119',
		'title': '',
		'imageId': '69987359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987369&x=119',
		'title': '',
		'imageId': '69987369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987373&x=119',
		'title': '',
		'imageId': '69987373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987379&x=119',
		'title': '',
		'imageId': '69987379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987383&x=119',
		'title': '',
		'imageId': '69987383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987388&x=119',
		'title': '',
		'imageId': '69987388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987393&x=119',
		'title': '',
		'imageId': '69987393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987398&x=119',
		'title': '',
		'imageId': '69987398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987403&x=119',
		'title': '',
		'imageId': '69987403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011222&docid=69987407&x=119',
		'title': '',
		'imageId': '69987407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011222';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
