var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933492&docid=68215689&x=749',
		'title': '',
		'imageId': '68215689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933492&docid=68215687&x=749',
		'title': '',
		'imageId': '68215687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933492&docid=68215688&x=749',
		'title': '',
		'imageId': '68215688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933492&docid=68215690&x=749',
		'title': '',
		'imageId': '68215690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933492&docid=68215692&x=749',
		'title': '',
		'imageId': '68215692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933492&docid=68215695&x=749',
		'title': '',
		'imageId': '68215695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933492&docid=68215691&x=749',
		'title': '',
		'imageId': '68215691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933492&docid=68215693&x=749',
		'title': '',
		'imageId': '68215693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933492&docid=68215694&x=749',
		'title': '',
		'imageId': '68215694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933492&docid=68215731&x=749',
		'title': '',
		'imageId': '68215731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933492';

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