var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663691&x=1510',
		'title': '',
		'imageId': '68663691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663693&x=1510',
		'title': '',
		'imageId': '68663693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663694&x=1510',
		'title': '',
		'imageId': '68663694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663695&x=1510',
		'title': '',
		'imageId': '68663695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663696&x=1510',
		'title': '',
		'imageId': '68663696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663701&x=1510',
		'title': '',
		'imageId': '68663701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663702&x=1510',
		'title': '',
		'imageId': '68663702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663709&x=1510',
		'title': '',
		'imageId': '68663709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663710&x=1510',
		'title': '',
		'imageId': '68663710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663711&x=1510',
		'title': '',
		'imageId': '68663711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663714&x=1510',
		'title': '',
		'imageId': '68663714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663719&x=1510',
		'title': '',
		'imageId': '68663719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663721&x=1510',
		'title': '',
		'imageId': '68663721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663725&x=1510',
		'title': '',
		'imageId': '68663725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663728&x=1510',
		'title': '',
		'imageId': '68663728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663730&x=1510',
		'title': '',
		'imageId': '68663730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663732&x=1510',
		'title': '',
		'imageId': '68663732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663735&x=1510',
		'title': '',
		'imageId': '68663735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663743&x=1510',
		'title': '',
		'imageId': '68663743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663748&x=1510',
		'title': '',
		'imageId': '68663748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663749&x=1510',
		'title': '',
		'imageId': '68663749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663750&x=1510',
		'title': '',
		'imageId': '68663750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663753&x=1510',
		'title': '',
		'imageId': '68663753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953538&docid=68663692&x=1510',
		'title': '',
		'imageId': '68663692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953538';

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