var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429912&x=221',
		'title': '',
		'imageId': '67429912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429913&x=221',
		'title': '',
		'imageId': '67429913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429914&x=221',
		'title': '',
		'imageId': '67429914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429915&x=221',
		'title': '',
		'imageId': '67429915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429916&x=221',
		'title': '',
		'imageId': '67429916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429917&x=221',
		'title': '',
		'imageId': '67429917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429918&x=221',
		'title': '',
		'imageId': '67429918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429919&x=221',
		'title': '',
		'imageId': '67429919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429920&x=221',
		'title': '',
		'imageId': '67429920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429921&x=221',
		'title': '',
		'imageId': '67429921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429922&x=221',
		'title': '',
		'imageId': '67429922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429923&x=221',
		'title': '',
		'imageId': '67429923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429924&x=221',
		'title': '',
		'imageId': '67429924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429925&x=221',
		'title': '',
		'imageId': '67429925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429926&x=221',
		'title': '',
		'imageId': '67429926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429927&x=221',
		'title': '',
		'imageId': '67429927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429929&x=221',
		'title': '',
		'imageId': '67429929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429930&x=221',
		'title': '',
		'imageId': '67429930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429931&x=221',
		'title': '',
		'imageId': '67429931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3901281&docid=67429932&x=221',
		'title': '',
		'imageId': '67429932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3901281';

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