var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589341&x=4234',
		'title': '',
		'imageId': '68589341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589345&x=4234',
		'title': '',
		'imageId': '68589345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589340&x=4234',
		'title': '',
		'imageId': '68589340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589342&x=4234',
		'title': '',
		'imageId': '68589342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589334&x=4234',
		'title': '',
		'imageId': '68589334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589337&x=4234',
		'title': '',
		'imageId': '68589337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589335&x=4234',
		'title': '',
		'imageId': '68589335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589332&x=4234',
		'title': '',
		'imageId': '68589332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589349&x=4234',
		'title': '',
		'imageId': '68589349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589339&x=4234',
		'title': '',
		'imageId': '68589339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589346&x=4234',
		'title': '',
		'imageId': '68589346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589348&x=4234',
		'title': '',
		'imageId': '68589348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589347&x=4234',
		'title': '',
		'imageId': '68589347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589351&x=4234',
		'title': '',
		'imageId': '68589351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589343&x=4234',
		'title': '',
		'imageId': '68589343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589331&x=4234',
		'title': '',
		'imageId': '68589331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589336&x=4234',
		'title': '',
		'imageId': '68589336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589344&x=4234',
		'title': '',
		'imageId': '68589344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589338&x=4234',
		'title': '',
		'imageId': '68589338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950242&docid=68589333&x=4234',
		'title': '',
		'imageId': '68589333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950242';

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