var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762385&x=3238',
		'title': '',
		'imageId': '67762385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762378&x=3238',
		'title': '',
		'imageId': '67762378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762382&x=3238',
		'title': '',
		'imageId': '67762382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762364&x=3238',
		'title': '',
		'imageId': '67762364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762373&x=3238',
		'title': '',
		'imageId': '67762373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762370&x=3238',
		'title': '',
		'imageId': '67762370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762376&x=3238',
		'title': '',
		'imageId': '67762376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762366&x=3238',
		'title': '',
		'imageId': '67762366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762367&x=3238',
		'title': '',
		'imageId': '67762367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762372&x=3238',
		'title': '',
		'imageId': '67762372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762365&x=3238',
		'title': '',
		'imageId': '67762365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762383&x=3238',
		'title': '',
		'imageId': '67762383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762381&x=3238',
		'title': '',
		'imageId': '67762381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762369&x=3238',
		'title': '',
		'imageId': '67762369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762377&x=3238',
		'title': '',
		'imageId': '67762377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762375&x=3238',
		'title': '',
		'imageId': '67762375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762371&x=3238',
		'title': '',
		'imageId': '67762371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762379&x=3238',
		'title': '',
		'imageId': '67762379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762387&x=3238',
		'title': '',
		'imageId': '67762387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762374&x=3238',
		'title': '',
		'imageId': '67762374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762384&x=3238',
		'title': '',
		'imageId': '67762384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762386&x=3238',
		'title': '',
		'imageId': '67762386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762368&x=3238',
		'title': '',
		'imageId': '67762368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903082&docid=67762380&x=3238',
		'title': '',
		'imageId': '67762380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3903082';

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";
	})
}
