var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956401&docid=68735545&x=369',
		'title': '',
		'imageId': '68735545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956401&docid=68735547&x=369',
		'title': '',
		'imageId': '68735547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956401&docid=68735546&x=369',
		'title': '',
		'imageId': '68735546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956401&docid=68735549&x=369',
		'title': '',
		'imageId': '68735549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956401&docid=68735548&x=369',
		'title': '',
		'imageId': '68735548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956401&docid=68735550&x=369',
		'title': '',
		'imageId': '68735550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956401&docid=68735563&x=369',
		'title': '',
		'imageId': '68735563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956401&docid=68735559&x=369',
		'title': '',
		'imageId': '68735559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956401&docid=68735560&x=369',
		'title': '',
		'imageId': '68735560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956401&docid=68735565&x=369',
		'title': '',
		'imageId': '68735565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956401&docid=68735577&x=369',
		'title': '',
		'imageId': '68735577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956401';

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