var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3983516&docid=69339810&x=523',
		'title': '',
		'imageId': '69339810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983516&docid=69339812&x=523',
		'title': '',
		'imageId': '69339812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983516&docid=69339811&x=523',
		'title': '',
		'imageId': '69339811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983516&docid=69339806&x=523',
		'title': '',
		'imageId': '69339806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983516&docid=69339814&x=523',
		'title': '',
		'imageId': '69339814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983516&docid=69339815&x=523',
		'title': '',
		'imageId': '69339815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983516&docid=69339807&x=523',
		'title': '',
		'imageId': '69339807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983516&docid=69339813&x=523',
		'title': '',
		'imageId': '69339813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983516&docid=69339809&x=523',
		'title': '',
		'imageId': '69339809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983516&docid=69339808&x=523',
		'title': '',
		'imageId': '69339808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3983516';

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