var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265525&x=210',
		'title': '',
		'imageId': '69265525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265518&x=210',
		'title': '',
		'imageId': '69265518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265522&x=210',
		'title': '',
		'imageId': '69265522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265530&x=210',
		'title': '',
		'imageId': '69265530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265528&x=210',
		'title': '',
		'imageId': '69265528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265532&x=210',
		'title': '',
		'imageId': '69265532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265521&x=210',
		'title': '',
		'imageId': '69265521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265520&x=210',
		'title': '',
		'imageId': '69265520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265529&x=210',
		'title': '',
		'imageId': '69265529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265516&x=210',
		'title': '',
		'imageId': '69265516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265524&x=210',
		'title': '',
		'imageId': '69265524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265519&x=210',
		'title': '',
		'imageId': '69265519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265523&x=210',
		'title': '',
		'imageId': '69265523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265526&x=210',
		'title': '',
		'imageId': '69265526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265527&x=210',
		'title': '',
		'imageId': '69265527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265533&x=210',
		'title': '',
		'imageId': '69265533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265517&x=210',
		'title': 'THIS IS STRAIGHT FROM EXMARKS WEBSITE WHEN INPUTTING MODEL #',
		'imageId': '69265517',
		'alt' : 'THIS IS STRAIGHT FROM EXMARKS WEBSITE WHEN INPUTTING MODEL #',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980094&docid=69265531&x=210',
		'title': '',
		'imageId': '69265531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980094';

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