var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970804&docid=68819512&x=361',
		'title': '',
		'imageId': '68819512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970804&docid=68819510&x=361',
		'title': '',
		'imageId': '68819510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970804&docid=68819511&x=361',
		'title': '',
		'imageId': '68819511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970804&docid=68819513&x=361',
		'title': '',
		'imageId': '68819513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970804&docid=68819515&x=361',
		'title': '',
		'imageId': '68819515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970804&docid=68819514&x=361',
		'title': '',
		'imageId': '68819514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970804&docid=68819517&x=361',
		'title': '',
		'imageId': '68819517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970804&docid=68819516&x=361',
		'title': '',
		'imageId': '68819516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970804&docid=68819518&x=361',
		'title': '',
		'imageId': '68819518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970804&docid=68819519&x=361',
		'title': '',
		'imageId': '68819519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970804';

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